Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 191.1 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 98.5 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 18.27 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3317, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.378, allocations: 1.938 GB / 3.168 GB, free: 15 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/5.378, allocations: 90.64 kB / 3.168 GB, free: 14.95 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.29/6.668, allocations: 318.6 MB / 3.479 GB, free: 170.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.506e-06/6.669, allocations: 0 / 3.479 GB, free: 170.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001814/6.669, allocations: 43.94 kB / 3.479 GB, free: 170.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.0049/6.674, allocations: 1.912 MB / 3.481 GB, free: 168.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/6.674, allocations: 8.562 kB / 3.481 GB, free: 168.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006336/6.674, allocations: 244.6 kB / 3.481 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/6.678, allocations: 0.4934 MB / 3.481 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/6.681, allocations: 0.9699 MB / 3.482 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/6.681, allocations: 123.3 kB / 3.482 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/6.681, allocations: 160 kB / 3.483 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/6.685, allocations: 1.744 MB / 3.484 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/6.685, allocations: 7.938 kB / 3.484 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/6.685, allocations: 71.95 kB / 3.484 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/6.685, allocations: 40 kB / 3.484 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/6.689, allocations: 1.82 MB / 3.486 GB, free: 162.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008274/6.697, allocations: 4.875 MB / 3.491 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/6.7, allocations: 1.671 MB / 3.493 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007871/6.701, allocations: 0.8 MB / 3.493 GB, free: 154.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/6.702, allocations: 0.827 MB / 3.494 GB, free: 153.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 4.018e-06/6.702, allocations: 0 / 3.494 GB, free: 153.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.0059/6.708, allocations: 2.449 MB / 3.497 GB, free: 151.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/6.708, allocations: 252.6 kB / 3.497 GB, free: 150.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/6.709, allocations: 0.7509 MB / 3.498 GB, free: 150.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/6.71, allocations: 53.7 kB / 3.498 GB, free: 150.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/6.71, allocations: 0.6211 MB / 3.498 GB, free: 149.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/6.711, allocations: 461.3 kB / 3.499 GB, free: 149 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/6.711, allocations: 24 kB / 3.499 GB, free: 149 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/6.711, allocations: 357.9 kB / 3.499 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/6.712, allocations: 434.4 kB / 3.499 GB, free: 148.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/6.713, allocations: 0.5997 MB / 3.5 GB, free: 147.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/6.714, allocations: 0.5061 MB / 3.5 GB, free: 147.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/6.714, allocations: 3.953 kB / 3.5 GB, free: 147.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003221/6.717, allocations: 1.406 MB / 3.502 GB, free: 145.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/6.717, allocations: 12 kB / 3.502 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/6.717, allocations: 0 / 3.502 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/6.718, allocations: 192.1 kB / 3.502 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/6.719, allocations: 299.6 kB / 3.502 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/6.724, allocations: 6.816 MB / 3.509 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/6.725, allocations: 150.8 kB / 3.509 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/6.725, allocations: 51.97 kB / 3.509 GB, free: 137.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009842/6.726, allocations: 353.6 kB / 3.51 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/6.727, allocations: 122.6 kB / 3.51 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/6.731, allocations: 1.76 MB / 3.511 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/6.731, allocations: 20 kB / 3.511 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/6.731, allocations: 0 / 3.511 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/6.731, allocations: 7.984 kB / 3.511 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/6.738, allocations: 3.328 MB / 3.515 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/6.738, allocations: 0 / 3.515 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/6.739, allocations: 311.6 kB / 3.515 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/6.74, allocations: 192.1 kB / 3.515 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/6.74, allocations: 39.97 kB / 3.515 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/6.744, allocations: 6.846 MB / 3.522 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/6.745, allocations: 3.938 kB / 3.522 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/6.748, allocations: 1.601 MB / 3.523 GB, free: 122 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/6.749, allocations: 403 kB / 3.524 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/6.749, allocations: 35.94 kB / 3.524 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/6.751, allocations: 127.8 kB / 3.524 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/6.751, allocations: 97.17 kB / 3.524 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/6.751, allocations: 67.94 kB / 3.524 GB, free: 121.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009736/6.752, allocations: 0.5968 MB / 3.525 GB, free: 120.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.752, allocations: 0 / 3.525 GB, free: 120.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002448/6.755, allocations: 0.6936 MB / 3.525 GB, free: 120 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006313/6.761, allocations: 3.725 MB / 3.529 GB, free: 116.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002954/6.764, allocations: 1.742 MB / 3.531 GB, free: 114.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/6.764, allocations: 0.5625 kB / 3.531 GB, free: 114.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/6.766, allocations: 1.262 MB / 3.532 GB, free: 113.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/6.768, allocations: 437.2 kB / 3.532 GB, free: 112.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/6.783, allocations: 8.316 MB / 3.54 GB, free: 104.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/6.784, allocations: 1.311 MB / 3.542 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002007/6.786, allocations: 413.7 kB / 3.542 GB, free: 102.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000942/6.787, allocations: 0.6125 MB / 3.543 GB, free: 101.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/6.787, allocations: 0 / 3.543 GB, free: 101.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/6.907, allocations: 53.09 MB / 3.595 GB, free: 49.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/6.907, allocations: 261 kB / 3.595 GB, free: 48.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.929/10.84, allocations: 0 / 3.595 GB, free: 48.84 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat