Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.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.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass",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.343/2.343, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00119/0.00119, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.818/1.818, allocations: 223.1 MB / 0.7948 GB, free: 18.89 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.0009603/0.0009603, allocations: 96.31 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 7.281 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3061, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.5216, allocations: 157.9 MB / 1.377 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/0.5221, allocations: 99.94 kB / 1.377 GB, free: 11.23 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterBypass.mo:78:3-78:77:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.03891/0.561, allocations: 13.09 MB / 1.39 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.527e-06/0.5611, allocations: 0 / 1.39 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.083e-05/0.5612, allocations: 12 kB / 1.39 GB, free: 14.1 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002357/0.5635, allocations: 0.8585 MB / 1.391 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/0.5636, allocations: 15.97 kB / 1.391 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/0.5639, allocations: 70.53 kB / 1.391 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.5642, allocations: 71.19 kB / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5656, allocations: 445.6 kB / 1.391 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.5657, allocations: 20.66 kB / 1.392 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.5658, allocations: 39.98 kB / 1.392 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.567, allocations: 394.7 kB / 1.392 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.567, allocations: 3.938 kB / 1.392 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.5671, allocations: 15.98 kB / 1.392 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5671, allocations: 8 kB / 1.392 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.5679, allocations: 302.5 kB / 1.392 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.5706, allocations: 1.206 MB / 1.393 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.572, allocations: 0.5247 MB / 1.394 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.572, allocations: 4 kB / 1.394 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.5725, allocations: 227.4 kB / 1.394 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=35): time 4.899e-06/0.5726, allocations: 4.031 kB / 1.394 GB, free: 9.695 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001316/0.5739, allocations: 0.5122 MB / 1.395 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.574, allocations: 132.5 kB / 1.395 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/0.5749, allocations: 469 kB / 1.395 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.575, allocations: 33.7 kB / 1.395 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.5752, allocations: 244.5 kB / 1.395 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5754, allocations: 102.5 kB / 1.396 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.5754, allocations: 12 kB / 1.396 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5756, allocations: 358.8 kB / 1.396 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.5759, allocations: 128.6 kB / 1.396 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.5763, allocations: 214.2 kB / 1.396 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.5766, allocations: 147.8 kB / 1.396 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5766, allocations: 0 / 1.396 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008029/0.5774, allocations: 390 kB / 1.397 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.5776, allocations: 275.1 kB / 1.397 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5776, allocations: 4 kB / 1.397 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5777, allocations: 0 / 1.397 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.578, allocations: 71.89 kB / 1.397 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.578, allocations: 4 kB / 1.397 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.5783, allocations: 51.72 kB / 1.397 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.5784, allocations: 11.94 kB / 1.397 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5784, allocations: 5.094 kB / 1.397 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005575/0.579, allocations: 295.5 kB / 1.397 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.579, allocations: 0 / 1.397 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.579, allocations: 7.953 kB / 1.397 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.5792, allocations: 59.91 kB / 1.398 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.5793, allocations: 3.984 kB / 1.398 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.5795, allocations: 51.78 kB / 1.398 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.5795, allocations: 8 kB / 1.398 GB, free: 6.047 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition3,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.bypValCon.trigger,chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003348/0.5799, allocations: 283.3 kB / 1.398 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.58, allocations: 47.5 kB / 1.398 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/0.5808, allocations: 433.7 kB / 1.398 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5809, allocations: 4 kB / 1.398 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5809, allocations: 0 / 1.398 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5809, allocations: 3.984 kB / 1.398 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.5826, allocations: 1.044 MB / 1.399 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5826, allocations: 3.953 kB / 1.399 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.5829, allocations: 51.91 kB / 1.399 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5829, allocations: 11.94 kB / 1.399 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.5829, allocations: 11.98 kB / 1.399 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.5829, allocations: 0 / 1.399 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5829, allocations: 0 / 1.399 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.5841, allocations: 0.6863 MB / 1.4 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.5843, allocations: 144.3 kB / 1.4 GB, free: 3.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.5844, allocations: 15.98 kB / 1.4 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.5847, allocations: 36.03 kB / 1.4 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.5848, allocations: 23.97 kB / 1.4 GB, free: 3.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.5848, allocations: 8 kB / 1.4 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000485/0.5853, allocations: 371.1 kB / 1.401 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5853, allocations: 0 / 1.401 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006627/0.586, allocations: 167.6 kB / 1.401 GB, free: 2.629 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (chiBypCon.bypValCon.I.y) * Number of discrete variables: 13 (chiBypCon.bypValCon.trigger,$whenCondition3,$whenCondition2,$whenCondition1,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0025/0.5885, allocations: 1.579 MB / 1.402 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.5895, allocations: 499.3 kB / 1.403 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5896, allocations: 4 kB / 1.403 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.5899, allocations: 175.9 kB / 1.403 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.5906, allocations: 108 kB / 1.403 GB, free: 428 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5876/1.178, allocations: 3.049 MB / 1.406 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/1.179, allocations: 0.8657 MB / 1.407 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003993/1.179, allocations: 87.75 kB / 1.407 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/1.179, allocations: 176.6 kB / 1.407 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.743e-06/1.179, allocations: 1.281 kB / 1.407 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/1.212, allocations: 10.25 MB / 1.417 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/1.212, allocations: 250.7 kB / 1.417 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.642, allocations: 0 / 1.417 GB, free: 168.2 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.fmu > Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat does not exist to compare? outputFormat=mat