Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.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.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.618/2.618, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001309/0.001309, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001174/0.001174, allocations: 91.61 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.59e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8746/1.134, allocations: 158.7 MB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.135, allocations: 106.4 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.0357/1.17, allocations: 13.05 MB / 1.387 GB, free: 476 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.17, allocations: 0 / 1.387 GB, free: 476 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.696e-05/1.17, allocations: 12 kB / 1.387 GB, free: 464 kB / 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.001409/1.172, allocations: 0.7752 MB / 1.387 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.172, allocations: 8.031 kB / 1.387 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/1.172, allocations: 70.91 kB / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/1.172, allocations: 63.2 kB / 1.388 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/1.173, allocations: 452.6 kB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/1.173, allocations: 30.78 kB / 1.388 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/1.173, allocations: 30.75 kB / 1.388 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/1.174, allocations: 380.4 kB / 1.388 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.174, allocations: 0 / 1.388 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.174, allocations: 10.38 kB / 1.388 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.174, allocations: 8 kB / 1.388 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/1.174, allocations: 252.8 kB / 1.389 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/1.176, allocations: 1.202 MB / 1.39 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/1.177, allocations: 483 kB / 1.39 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/1.177, allocations: 153.1 kB / 1.39 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/1.177, allocations: 4 kB / 1.39 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/1.178, allocations: 211.8 kB / 1.391 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/1.178, allocations: 0 / 1.391 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0006116/1.178, allocations: 346.7 kB / 1.391 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/1.178, allocations: 136.5 kB / 1.391 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/1.179, allocations: 460 kB / 1.392 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/1.179, allocations: 41.31 kB / 1.392 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/1.179, allocations: 237.6 kB / 1.392 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/1.179, allocations: 112 kB / 1.392 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/1.179, allocations: 3.5 kB / 1.392 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.179, allocations: 359.8 kB / 1.392 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.18, allocations: 114.2 kB / 1.392 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/1.18, allocations: 185.4 kB / 1.393 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/1.18, allocations: 120.8 kB / 1.393 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.18, allocations: 4 kB / 1.393 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005069/1.181, allocations: 343 kB / 1.393 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.181, allocations: 266.6 kB / 1.393 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.181, allocations: 8.062 kB / 1.393 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.181, allocations: 0 / 1.393 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/1.181, allocations: 75.27 kB / 1.393 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.181, allocations: 4 kB / 1.393 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/1.181, allocations: 50.66 kB / 1.393 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.181, allocations: 12 kB / 1.393 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.181, allocations: 4 kB / 1.393 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003931/1.182, allocations: 271 kB / 1.394 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/1.182, allocations: 3.953 kB / 1.394 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/1.182, allocations: 4 kB / 1.394 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/1.182, allocations: 59.91 kB / 1.394 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/1.182, allocations: 4 kB / 1.394 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/1.182, allocations: 46.77 kB / 1.394 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/1.182, allocations: 15.92 kB / 1.394 GB, free: 10.32 MB / 0.8542 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.0001264/1.182, allocations: 125.4 kB / 1.394 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/1.183, allocations: 51.34 kB / 1.394 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/1.183, allocations: 379.4 kB / 1.394 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.183, allocations: 4 kB / 1.394 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.183, allocations: 0 / 1.394 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.183, allocations: 4 kB / 1.394 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/1.184, allocations: 0.9888 MB / 1.395 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.184, allocations: 3.953 kB / 1.395 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/1.185, allocations: 59.47 kB / 1.395 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.185, allocations: 4 kB / 1.395 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.185, allocations: 7.438 kB / 1.395 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.185, allocations: 3.984 kB / 1.395 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.185, allocations: 0 / 1.395 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008208/1.186, allocations: 0.6179 MB / 1.396 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.186, allocations: 145.2 kB / 1.396 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/1.186, allocations: 10.44 kB / 1.396 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.186, allocations: 27.66 kB / 1.396 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/1.186, allocations: 29.53 kB / 1.396 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/1.186, allocations: 18.67 kB / 1.396 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004156/1.187, allocations: 363.6 kB / 1.397 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.9e-07/1.187, allocations: 0 / 1.397 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000577/1.187, allocations: 173 kB / 1.397 GB, free: 7.902 MB / 0.8542 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.001977/1.189, allocations: 1.464 MB / 1.398 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006866/1.19, allocations: 456.8 kB / 1.399 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.19, allocations: 0 / 1.399 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/1.19, allocations: 148.9 kB / 1.399 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/1.191, allocations: 115.4 kB / 1.399 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/1.192, allocations: 0.7551 MB / 1.4 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/1.193, allocations: 0.8633 MB / 1.4 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004613/1.193, allocations: 161.1 kB / 1.401 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.193, allocations: 174 kB / 1.401 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/1.193, allocations: 0 / 1.401 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/1.223, allocations: 10.94 MB / 1.411 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/1.223, allocations: 233.5 kB / 1.412 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.518, allocations: 2.188 kB / 1.412 GB, free: 9.52 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat does not exist to compare? outputFormat=mat