Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.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.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.001898/0.001898, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001699/0.001699, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 469.4 MB / 0.7428 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.006164/1.135, allocations: 2.99 MB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003173/1.138, allocations: 1.504 MB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/1.139, allocations: 11.94 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/1.14, allocations: 322.7 kB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009241/1.141, allocations: 238.9 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/1.142, allocations: 410 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001049/1.143, allocations: 0.6596 MB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/1.144, allocations: 266.1 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/1.144, allocations: 266.9 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/1.145, allocations: 254.8 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/1.145, allocations: 56 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/1.145, allocations: 127.9 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/1.145, allocations: 143.5 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/1.146, allocations: 262.5 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/1.147, allocations: 0.7724 MB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.147, allocations: 0 / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/1.147, allocations: 4 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.122e-05/1.147, allocations: 0 / 1.229 GB, free: 10.11 MB / 0.9512 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.001988/1.149, allocations: 0.9067 MB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.149, allocations: 8.625 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/1.149, allocations: 60.19 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/1.15, allocations: 454.4 kB / 1.23 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/1.15, allocations: 29.03 kB / 1.23 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/1.15, allocations: 40.06 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/1.151, allocations: 390.7 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.151, allocations: 7.984 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/1.151, allocations: 16 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.151, allocations: 8 kB / 1.231 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/1.151, allocations: 286.4 kB / 1.231 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/1.153, allocations: 1.267 MB / 1.232 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.154, allocations: 495.4 kB / 1.233 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/1.155, allocations: 172.7 kB / 1.233 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/1.155, allocations: 7.984 kB / 1.233 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/1.155, allocations: 217.5 kB / 1.233 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/1.155, allocations: 0 / 1.233 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.001127/1.156, allocations: 486.5 kB / 1.234 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/1.157, allocations: 140.4 kB / 1.234 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/1.157, allocations: 0.5057 MB / 1.234 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/1.157, allocations: 29.7 kB / 1.234 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.157, allocations: 244.4 kB / 1.234 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/1.158, allocations: 98.64 kB / 1.235 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.158, allocations: 70.02 kB / 1.235 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.158, allocations: 362.9 kB / 1.235 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.158, allocations: 130 kB / 1.235 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/1.159, allocations: 205.8 kB / 1.235 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/1.159, allocations: 292.2 kB / 1.236 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.159, allocations: 0 / 1.236 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007594/1.16, allocations: 388.7 kB / 1.236 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.16, allocations: 9.656 kB / 1.236 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.16, allocations: 0 / 1.236 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.16, allocations: 4 kB / 1.236 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/1.16, allocations: 71.89 kB / 1.236 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/1.16, allocations: 3.938 kB / 1.236 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/1.161, allocations: 47.66 kB / 1.236 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/1.161, allocations: 12 kB / 1.236 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000382/1.161, allocations: 260.8 kB / 1.236 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002775/1.161, allocations: 192.8 kB / 1.237 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004613/1.162, allocations: 267.5 kB / 1.237 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/1.162, allocations: 0 / 1.237 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006359/1.162, allocations: 356.6 kB / 1.237 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.162, allocations: 8 kB / 1.237 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/1.162, allocations: 96 / 1.237 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/1.162, allocations: 8 kB / 1.237 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/1.163, allocations: 60.03 kB / 1.237 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/1.163, allocations: 4 kB / 1.237 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/1.163, allocations: 47.75 kB / 1.237 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.163, allocations: 12 kB / 1.237 GB, free: 1.164 MB / 0.9512 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.000171/1.163, allocations: 206.4 kB / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/1.163, allocations: 59.33 kB / 1.238 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.163, allocations: 56.75 kB / 1.238 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.163, allocations: 3.984 kB / 1.238 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.163, allocations: 3.938 kB / 1.238 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.164, allocations: 120.5 kB / 1.238 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/1.164, allocations: 11.98 kB / 1.238 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.164, allocations: 19.98 kB / 1.238 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/1.164, allocations: 23.97 kB / 1.238 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009018/1.165, allocations: 457.7 kB / 1.238 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001165/1.166, allocations: 0.7248 MB / 1.239 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003039/1.166, allocations: 155.9 kB / 1.239 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004231/1.167, allocations: 363.1 kB / 1.239 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of Backend: time 2.185e-06/1.167, allocations: 0 / 1.239 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002156/1.169, allocations: 0.7563 MB / 1.24 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001936/1.171, allocations: 1.269 MB / 1.241 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.01528/1.186, allocations: 7.446 MB / 1.249 GB, free: 5.652 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches