Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001588, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 11.98 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7156, allocations: 142.3 MB / 0.9539 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01087/0.7265, allocations: 9.954 MB / 0.9636 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.7378, allocations: 5.443 MB / 0.9689 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.74, allocations: 45.88 kB / 0.9689 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.7415, allocations: 240.8 kB / 0.9692 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.7456, allocations: 0.8934 MB / 0.97 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.7485, allocations: 0.5885 MB / 0.9706 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004048/0.7526, allocations: 2.351 MB / 0.9729 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004913/0.7575, allocations: 2.178 MB / 0.975 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7594, allocations: 0.6873 MB / 0.9757 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.7613, allocations: 0.8286 MB / 0.9765 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.7617, allocations: 59.31 kB / 0.9766 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.7638, allocations: 0.6013 MB / 0.9772 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007806/0.7646, allocations: 471 kB / 0.9776 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009255/0.7655, allocations: 297.9 kB / 0.9779 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.7687, allocations: 1.796 MB / 0.9797 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7687, allocations: 0 / 0.9797 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7687, allocations: 0 / 0.9797 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.599e-05/0.7688, allocations: 1.469 kB / 0.9797 GB, free: 5.332 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003509/0.7723, allocations: 1.619 MB / 0.9812 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.7724, allocations: 12.03 kB / 0.9812 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004255/0.7728, allocations: 211.2 kB / 0.9815 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.7771, allocations: 0.6729 MB / 0.9821 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.7789, allocations: 0.8866 MB / 0.983 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.779, allocations: 102.5 kB / 0.9831 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.7793, allocations: 124 kB / 0.9832 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/0.7827, allocations: 2.191 MB / 0.9853 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.7827, allocations: 19.78 kB / 0.9853 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.7829, allocations: 63.92 kB / 0.9854 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/0.7831, allocations: 162.3 kB / 0.9856 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.7862, allocations: 1.855 MB / 0.9874 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.8007, allocations: 12.47 MB / 0.9996 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.8049, allocations: 1.956 MB / 1.001 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.8058, allocations: 0.6049 MB / 1.002 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.806, allocations: 102.1 kB / 1.002 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.806, allocations: 47.56 kB / 1.002 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 2.785e-06/0.806, allocations: 0 / 1.002 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006377/0.8124, allocations: 3.702 MB / 1.006 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.8125, allocations: 64.41 kB / 1.006 GB, free: 9.219 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.8143, allocations: 0.9126 MB / 1.007 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-05/0.8144, allocations: 41.7 kB / 1.007 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/0.8151, allocations: 0.7276 MB / 1.008 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/0.8156, allocations: 394.4 kB / 1.008 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.8157, allocations: 32 kB / 1.008 GB, free: 7.082 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.8159, allocations: 365.9 kB / 1.008 GB, free: 6.719 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.8171, allocations: 0.6012 MB / 1.009 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.8186, allocations: 1.098 MB / 1.01 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.8198, allocations: 0.7642 MB / 1.011 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.8199, allocations: 8 kB / 1.011 GB, free: 4.035 MB / 0.7637 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003772/0.8236, allocations: 2.088 MB / 1.013 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.8237, allocations: 12 kB / 1.013 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.8237, allocations: 16 kB / 1.013 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/0.8245, allocations: 263 kB / 1.013 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.8258, allocations: 375.4 kB / 1.013 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008651/0.8344, allocations: 10.77 MB / 1.024 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.8358, allocations: 128.1 kB / 1.024 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.836, allocations: 79.97 kB / 1.024 GB, free: 5.199 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008271/0.8369, allocations: 393.2 kB / 1.024 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.8371, allocations: 134.5 kB / 1.025 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.8403, allocations: 1.681 MB / 1.026 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.8404, allocations: 12 kB / 1.026 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.8404, allocations: 4 kB / 1.026 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.8404, allocations: 3.984 kB / 1.026 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.846, allocations: 3.28 MB / 1.029 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.846, allocations: 4.688 kB / 1.029 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/0.8469, allocations: 223.6 kB / 1.03 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/0.8475, allocations: 246.6 kB / 1.03 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/0.8476, allocations: 28 kB / 1.03 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00841/0.8561, allocations: 10.73 MB / 1.04 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.8561, allocations: 7.938 kB / 1.04 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.8589, allocations: 1.792 MB / 1.042 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.8596, allocations: 323.3 kB / 1.042 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.8599, allocations: 27.98 kB / 1.042 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.8606, allocations: 91.88 kB / 1.043 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.8607, allocations: 100.7 kB / 1.043 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.8608, allocations: 36 kB / 1.043 GB, free: 0.707 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008047/0.8616, allocations: 0.6099 MB / 1.043 GB, free: 92 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8616, allocations: 0 / 1.043 GB, free: 92 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.001467/0.8631, allocations: 392.1 kB / 1.044 GB, free: 15.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/0.8662, allocations: 2.378 MB / 1.046 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003779/0.87, allocations: 2.481 MB / 1.048 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.87, allocations: 0.875 kB / 1.048 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.8722, allocations: 1.633 MB / 1.05 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.8742, allocations: 335.7 kB / 1.05 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.8895, allocations: 8.516 MB / 1.059 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.891, allocations: 1.327 MB / 1.06 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001284/0.8923, allocations: 359.3 kB / 1.06 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/0.8931, allocations: 0.5188 MB / 1.061 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of SimCode: time 1.232e-06/0.8932, allocations: 0 / 1.061 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05317/0.9463, allocations: 26.77 MB / 1.087 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.9466, allocations: 225.5 kB / 1.087 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.509, allocations: 1.875 kB / 1.087 GB, free: 2.605 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat