Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001283/0.001283, allocations: 181 kB / 498.1 MB, free: 5.727 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.509/1.509, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.0009475/0.0009476, allocations: 103.4 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 10.14 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.374/3.611, allocations: 1.937 GB / 3.16 GB, free: 40.63 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/3.611, allocations: 87.95 kB / 3.16 GB, free: 40.55 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.038/4.649, allocations: 318.6 MB / 3.472 GB, free: 195.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.625e-06/4.649, allocations: 0 / 3.472 GB, free: 195.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000128/4.649, allocations: 55.94 kB / 3.472 GB, free: 195.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.003624/4.653, allocations: 1.902 MB / 3.474 GB, free: 193.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/4.653, allocations: 12.03 kB / 3.474 GB, free: 193.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005009/4.653, allocations: 248.6 kB / 3.474 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/4.657, allocations: 0.5011 MB / 3.474 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/4.659, allocations: 0.9661 MB / 3.475 GB, free: 191.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/4.659, allocations: 123.3 kB / 3.475 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/4.659, allocations: 160 kB / 3.475 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/4.662, allocations: 1.74 MB / 3.477 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/4.662, allocations: 0 / 3.477 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/4.662, allocations: 80 kB / 3.477 GB, free: 189.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/4.662, allocations: 43.95 kB / 3.477 GB, free: 189.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/4.665, allocations: 1.808 MB / 3.479 GB, free: 187.5 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.006514/4.671, allocations: 4.871 MB / 3.484 GB, free: 182.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/4.673, allocations: 1.674 MB / 3.485 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/4.674, allocations: 0.8 MB / 3.486 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/4.675, allocations: 0.8099 MB / 3.487 GB, free: 178.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.306e-06/4.675, allocations: 0 / 3.487 GB, free: 178.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.005087/4.68, allocations: 2.457 MB / 3.489 GB, free: 176.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/4.68, allocations: 248.6 kB / 3.49 GB, free: 176 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/4.681, allocations: 0.7509 MB / 3.49 GB, free: 175.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/4.681, allocations: 57.7 kB / 3.49 GB, free: 175.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/4.682, allocations: 0.6367 MB / 3.491 GB, free: 174.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/4.682, allocations: 453.3 kB / 3.492 GB, free: 174.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/4.682, allocations: 20 kB / 3.492 GB, free: 174.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/4.682, allocations: 353.9 kB / 3.492 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/4.683, allocations: 442.4 kB / 3.492 GB, free: 173.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/4.684, allocations: 0.5958 MB / 3.493 GB, free: 172.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/4.685, allocations: 0.5061 MB / 3.493 GB, free: 172.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/4.685, allocations: 0 / 3.493 GB, free: 172.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002731/4.687, allocations: 1.413 MB / 3.495 GB, free: 170.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/4.687, allocations: 11.94 kB / 3.495 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/4.687, allocations: 0 / 3.495 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008749/4.688, allocations: 192.2 kB / 3.495 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/4.69, allocations: 299.6 kB / 3.495 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/4.694, allocations: 6.823 MB / 3.502 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/4.695, allocations: 139 kB / 3.502 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/4.695, allocations: 55.91 kB / 3.502 GB, free: 162.5 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.0007763/4.696, allocations: 357.6 kB / 3.502 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/4.696, allocations: 126.5 kB / 3.503 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/4.7, allocations: 1.76 MB / 3.504 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/4.7, allocations: 16 kB / 3.504 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/4.7, allocations: 0 / 3.504 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/4.7, allocations: 7.969 kB / 3.504 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/4.705, allocations: 3.317 MB / 3.508 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/4.705, allocations: 7.891 kB / 3.508 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/4.706, allocations: 307.6 kB / 3.508 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007542/4.707, allocations: 200.1 kB / 3.508 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/4.707, allocations: 31.97 kB / 3.508 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/4.711, allocations: 6.853 MB / 3.515 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/4.711, allocations: 8.125 kB / 3.515 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/4.714, allocations: 1.597 MB / 3.516 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/4.714, allocations: 411 kB / 3.517 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/4.714, allocations: 24 kB / 3.517 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/4.716, allocations: 127.8 kB / 3.517 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/4.716, allocations: 105.1 kB / 3.517 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/4.716, allocations: 63.95 kB / 3.517 GB, free: 146.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006424/4.716, allocations: 0.6007 MB / 3.518 GB, free: 145.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/4.716, allocations: 0 / 3.518 GB, free: 145.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001746/4.718, allocations: 0.6897 MB / 3.518 GB, free: 145.1 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.005345/4.724, allocations: 3.716 MB / 3.522 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002465/4.726, allocations: 1.746 MB / 3.524 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/4.726, allocations: 0.5625 kB / 3.524 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/4.728, allocations: 1.274 MB / 3.525 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/4.729, allocations: 425.5 kB / 3.525 GB, free: 137.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/4.742, allocations: 8.321 MB / 3.533 GB, free: 129.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/4.743, allocations: 1.308 MB / 3.535 GB, free: 128 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001625/4.745, allocations: 417.6 kB / 3.535 GB, free: 127.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/4.745, allocations: 0.6086 MB / 3.536 GB, free: 127 MB / 1.167 GB Notification: Performance of SimCode: time 8.21e-07/4.745, allocations: 3.938 kB / 3.536 GB, free: 127 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/4.811, allocations: 53.08 MB / 3.587 GB, free: 74.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/4.811, allocations: 256.4 kB / 3.588 GB, free: 73.97 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.847/8.659, allocations: 0 / 3.588 GB, free: 73.97 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat