Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 107.8 kB / 16.42 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 192.3 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9775/0.9789, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.005071/0.984, allocations: 3.011 MB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.9872, allocations: 1.516 MB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.9878, allocations: 11.94 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.9889, allocations: 320.2 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007782/0.9897, allocations: 242.9 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.9908, allocations: 401.4 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008987/0.9918, allocations: 0.6478 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.9923, allocations: 262.2 kB / 1.174 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.9927, allocations: 262.9 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.9931, allocations: 258.8 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.9932, allocations: 56 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.9935, allocations: 123.9 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.9937, allocations: 143.6 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.994, allocations: 270.5 kB / 1.175 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.9951, allocations: 0.7865 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9951, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9951, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.9952, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 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.001892/0.9971, allocations: 0.9373 MB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.9971, allocations: 12.88 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.9973, allocations: 64.55 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.998, allocations: 450.8 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.9981, allocations: 29.03 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.9981, allocations: 40.12 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.9989, allocations: 394.7 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.9989, allocations: 0 / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.9989, allocations: 16 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.999, allocations: 8 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.9996, allocations: 286.5 kB / 1.178 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/1.002, allocations: 1.271 MB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.003, allocations: 0.4939 MB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/1.003, allocations: 160.8 kB / 1.179 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/1.003, allocations: 12.56 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/1.003, allocations: 214 kB / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/1.003, allocations: 0 / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.001078/1.005, allocations: 494.7 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/1.005, allocations: 136.5 kB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/1.005, allocations: 0.5057 MB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/1.005, allocations: 33.7 kB / 1.181 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/1.005, allocations: 244.6 kB / 1.181 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/1.006, allocations: 103.2 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/1.006, allocations: 66.03 kB / 1.181 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.006, allocations: 366.8 kB / 1.181 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/1.006, allocations: 134 kB / 1.182 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/1.006, allocations: 201.8 kB / 1.182 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/1.007, allocations: 288.8 kB / 1.182 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.007, allocations: 0 / 1.182 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007499/1.008, allocations: 381 kB / 1.182 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.008, allocations: 7.984 kB / 1.182 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.008, allocations: 4 kB / 1.182 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.008, allocations: 0 / 1.182 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/1.008, allocations: 67.91 kB / 1.183 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/1.008, allocations: 3.938 kB / 1.183 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/1.008, allocations: 55.78 kB / 1.183 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/1.008, allocations: 15.94 kB / 1.183 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003845/1.009, allocations: 264.7 kB / 1.183 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002832/1.009, allocations: 201.4 kB / 1.183 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004593/1.01, allocations: 259.5 kB / 1.183 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/1.01, allocations: 0 / 1.183 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006384/1.01, allocations: 357.1 kB / 1.184 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.01, allocations: 6.188 kB / 1.184 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.01, allocations: 7.984 kB / 1.184 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/1.01, allocations: 4 kB / 1.184 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/1.011, allocations: 63.91 kB / 1.184 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.011, allocations: 96 / 1.184 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/1.011, allocations: 51.67 kB / 1.184 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.011, allocations: 12 kB / 1.184 GB, free: 2.586 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,onTwo.combiTimeTable.nextTimeEventScaled,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEvent,chiBypCon.numChiOn.y,chiBypCon.intGreThr.y,chiBypCon.booToInt[2].y,chiBypCon.booToInt[1].y,chiBypCon.chiOn[2],chiBypCon.chiOn[1],$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/1.011, allocations: 220.6 kB / 1.184 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/1.011, allocations: 47.67 kB / 1.184 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.011, allocations: 56.75 kB / 1.184 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.011, allocations: 0 / 1.184 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.011, allocations: 3.938 kB / 1.184 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.011, allocations: 128.7 kB / 1.184 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/1.011, allocations: 8 kB / 1.184 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/1.012, allocations: 27.97 kB / 1.184 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/1.012, allocations: 23.97 kB / 1.184 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000864/1.013, allocations: 440.7 kB / 1.185 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001142/1.014, allocations: 0.7298 MB / 1.185 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002967/1.014, allocations: 159.9 kB / 1.186 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004127/1.014, allocations: 367.1 kB / 1.186 GB, free: 368 kB / 0.9044 GB Notification: Performance of Backend: time 8.51e-07/1.014, allocations: 0 / 1.186 GB, free: 368 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00207/1.017, allocations: 0.7564 MB / 1.187 GB, free: 15.76 MB / 0.92 GB Notification: Performance of SimCode: time 0.001731/1.018, allocations: 1.286 MB / 1.188 GB, free: 14.43 MB / 0.92 GB Notification: Performance of Templates: time 0.01438/1.033, allocations: 7.453 MB / 1.195 GB, free: 7.039 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches