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.531/2.531, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001181/0.001181, allocations: 183 kB / 492.3 MB, free: 0.5938 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.634/1.634, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009218/0.0009222, allocations: 83.39 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.727e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9683/1.24, allocations: 157.9 MB / 1.367 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.24, allocations: 102.2 kB / 1.367 GB, free: 18.96 MB / 0.823 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.03227/1.272, allocations: 13.06 MB / 1.38 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.272, allocations: 0 / 1.38 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.01e-05/1.272, allocations: 11.22 kB / 1.38 GB, free: 33.21 MB / 0.8386 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.001366/1.274, allocations: 0.7708 MB / 1.38 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.274, allocations: 7.75 kB / 1.38 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/1.274, allocations: 72.97 kB / 1.38 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/1.274, allocations: 58.34 kB / 1.38 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/1.275, allocations: 454 kB / 1.381 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/1.275, allocations: 30.92 kB / 1.381 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/1.275, allocations: 33.28 kB / 1.381 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/1.276, allocations: 371 kB / 1.381 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.276, allocations: 3.938 kB / 1.381 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/1.276, allocations: 14.03 kB / 1.381 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.276, allocations: 11.44 kB / 1.381 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/1.276, allocations: 253.2 kB / 1.382 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/1.278, allocations: 1.196 MB / 1.383 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/1.279, allocations: 475.6 kB / 1.383 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/1.279, allocations: 157.4 kB / 1.383 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/1.279, allocations: 10.91 kB / 1.383 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/1.28, allocations: 207.4 kB / 1.384 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/1.28, allocations: 0 / 1.384 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0005788/1.28, allocations: 349.3 kB / 1.384 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.28, allocations: 132.4 kB / 1.384 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/1.281, allocations: 461.8 kB / 1.384 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/1.281, allocations: 35.17 kB / 1.384 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/1.281, allocations: 244 kB / 1.385 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/1.281, allocations: 110.7 kB / 1.385 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/1.281, allocations: 11.19 kB / 1.385 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.281, allocations: 360.6 kB / 1.385 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/1.281, allocations: 102.6 kB / 1.385 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/1.282, allocations: 184.3 kB / 1.385 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/1.282, allocations: 124 kB / 1.386 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.282, allocations: 0 / 1.386 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004658/1.282, allocations: 343 kB / 1.386 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/1.282, allocations: 278.4 kB / 1.386 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.282, allocations: 4 kB / 1.386 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.282, allocations: 7.828 kB / 1.386 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/1.283, allocations: 66 kB / 1.386 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.283, allocations: 3.812 kB / 1.386 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/1.283, allocations: 53.41 kB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/1.283, allocations: 7.531 kB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/1.283, allocations: 3.844 kB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003713/1.283, allocations: 265.5 kB / 1.387 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.283, allocations: 0 / 1.387 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/1.283, allocations: 7.922 kB / 1.387 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.284, allocations: 64.5 kB / 1.387 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/1.284, allocations: 0 / 1.387 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/1.284, allocations: 49.62 kB / 1.387 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/1.284, allocations: 10.81 kB / 1.387 GB, free: 29.54 MB / 0.8386 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 () * 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.0001252/1.284, allocations: 128.5 kB / 1.387 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/1.284, allocations: 53.89 kB / 1.387 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/1.285, allocations: 379.5 kB / 1.387 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.285, allocations: 11.64 kB / 1.387 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.285, allocations: 3.938 kB / 1.387 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.285, allocations: 3.984 kB / 1.387 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.286, allocations: 0.9908 MB / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.286, allocations: 3.984 kB / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.286, allocations: 53.91 kB / 1.388 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.286, allocations: 3.953 kB / 1.388 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/1.286, allocations: 15.36 kB / 1.388 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.286, allocations: 7.938 kB / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.286, allocations: 0 / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/1.287, allocations: 0.6119 MB / 1.389 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.287, allocations: 137.8 kB / 1.389 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/1.287, allocations: 14.14 kB / 1.389 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/1.287, allocations: 34.56 kB / 1.389 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/1.287, allocations: 23.16 kB / 1.389 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/1.287, allocations: 18.89 kB / 1.389 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003865/1.288, allocations: 359.5 kB / 1.389 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.288, allocations: 0 / 1.389 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005239/1.288, allocations: 179.4 kB / 1.39 GB, free: 28.27 MB / 0.8386 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) * 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.001792/1.29, allocations: 1.458 MB / 1.391 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006805/1.291, allocations: 456.1 kB / 1.391 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.291, allocations: 0 / 1.391 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/1.291, allocations: 153 kB / 1.392 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/1.292, allocations: 114.9 kB / 1.392 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.293, allocations: 0.7452 MB / 1.392 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/1.294, allocations: 0.8734 MB / 1.393 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005091/1.294, allocations: 153.2 kB / 1.393 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/1.294, allocations: 169.2 kB / 1.394 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.294, allocations: 0 / 1.394 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/1.32, allocations: 10.95 MB / 1.404 GB, free: 18.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.32, allocations: 218.9 kB / 1.404 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.805, allocations: 2.25 kB / 1.404 GB, free: 18.62 MB / 0.8386 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