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: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001406/0.001406, allocations: 168.9 kB / 496.1 MB, free: 12.84 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.497/1.497, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009071/0.0009072, allocations: 91.91 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.136e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9897/1.274, allocations: 158.7 MB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.274, allocations: 104.7 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03711/1.312, allocations: 13.06 MB / 1.387 GB, free: 464 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.312, allocations: 0 / 1.387 GB, free: 464 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.599e-05/1.312, allocations: 8 kB / 1.387 GB, free: 456 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.001585/1.313, allocations: 0.7621 MB / 1.387 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.313, allocations: 12.02 kB / 1.387 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/1.314, allocations: 63.25 kB / 1.387 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.315, allocations: 457.1 kB / 1.388 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/1.315, allocations: 29.53 kB / 1.388 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/1.315, allocations: 37.73 kB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/1.316, allocations: 367.8 kB / 1.388 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.316, allocations: 0 / 1.388 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/1.316, allocations: 14.81 kB / 1.388 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.316, allocations: 8 kB / 1.388 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/1.316, allocations: 258.4 kB / 1.389 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/1.318, allocations: 1.195 MB / 1.39 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/1.319, allocations: 479.3 kB / 1.39 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/1.319, allocations: 158.9 kB / 1.39 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/1.319, allocations: 4 kB / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/1.32, allocations: 206.1 kB / 1.39 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 3.888e-06/1.32, allocations: 4 kB / 1.391 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0007016/1.32, allocations: 350.4 kB / 1.391 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/1.321, allocations: 132.5 kB / 1.391 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/1.321, allocations: 457.4 kB / 1.391 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/1.321, allocations: 35.52 kB / 1.391 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/1.322, allocations: 250.9 kB / 1.392 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/1.322, allocations: 101.2 kB / 1.392 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/1.322, allocations: 11.06 kB / 1.392 GB, free: 12 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.322, allocations: 364.2 kB / 1.392 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.322, allocations: 103.3 kB / 1.392 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/1.322, allocations: 188.5 kB / 1.392 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/1.323, allocations: 120.3 kB / 1.393 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.323, allocations: 4 kB / 1.393 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005484/1.323, allocations: 343.6 kB / 1.393 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.323, allocations: 278 kB / 1.393 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.323, allocations: 0 / 1.393 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.323, allocations: 4 kB / 1.393 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/1.324, allocations: 70.95 kB / 1.393 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.324, allocations: 0 / 1.393 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/1.324, allocations: 50.97 kB / 1.393 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.324, allocations: 15.19 kB / 1.393 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.324, allocations: 1.562 kB / 1.393 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004339/1.324, allocations: 277.5 kB / 1.394 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/1.324, allocations: 0 / 1.394 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/1.324, allocations: 3.953 kB / 1.394 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/1.325, allocations: 62.53 kB / 1.394 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.325, allocations: 4 kB / 1.394 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/1.325, allocations: 47.56 kB / 1.394 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.325, allocations: 10.5 kB / 1.394 GB, free: 10.38 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.0001431/1.325, allocations: 130.9 kB / 1.394 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/1.325, allocations: 51.42 kB / 1.394 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/1.326, allocations: 369.2 kB / 1.394 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/1.326, allocations: 7.953 kB / 1.394 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.326, allocations: 4 kB / 1.394 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.326, allocations: 7.984 kB / 1.394 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.327, allocations: 0.9793 MB / 1.395 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.327, allocations: 0 / 1.395 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/1.328, allocations: 63.17 kB / 1.395 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.328, allocations: 0 / 1.395 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/1.328, allocations: 15.17 kB / 1.395 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.328, allocations: 8 kB / 1.395 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.328, allocations: 0 / 1.395 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/1.329, allocations: 0.6162 MB / 1.396 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.329, allocations: 134.2 kB / 1.396 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/1.329, allocations: 13.83 kB / 1.396 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/1.329, allocations: 39.45 kB / 1.396 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/1.329, allocations: 23.28 kB / 1.396 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/1.329, allocations: 15.8 kB / 1.396 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005316/1.33, allocations: 360.1 kB / 1.396 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/1.33, allocations: 0 / 1.396 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000694/1.331, allocations: 187.5 kB / 1.397 GB, free: 7.953 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.0009983/1.332, allocations: 404.9 kB / 1.397 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008505/1.333, allocations: 462.1 kB / 1.397 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.333, allocations: 0 / 1.397 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/1.333, allocations: 156.5 kB / 1.398 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/1.334, allocations: 106.8 kB / 1.398 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.335, allocations: 0.6391 MB / 1.398 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/1.335, allocations: 0.8628 MB / 1.399 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005134/1.336, allocations: 161.1 kB / 1.399 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/1.336, allocations: 31.42 kB / 1.399 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/1.336, allocations: 0 / 1.399 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of Templates: time 0.01365/1.35, allocations: 6.527 MB / 1.406 GB, free: 15.12 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (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 & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches