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.00153/0.00153, allocations: 109.3 kB / 16.42 MB, free: 6.449 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.001557/0.001558, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 63.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.147, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.005678/1.153, allocations: 2.995 MB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003674/1.157, allocations: 1.516 MB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/1.158, allocations: 7.938 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.159, allocations: 318.7 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001/1.16, allocations: 238.8 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/1.162, allocations: 402.1 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001264/1.163, allocations: 0.6635 MB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006007/1.164, allocations: 254.2 kB / 1.215 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/1.164, allocations: 262.9 kB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/1.165, allocations: 262.8 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/1.165, allocations: 56 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/1.165, allocations: 127.9 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/1.166, allocations: 139.6 kB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/1.166, allocations: 262.5 kB / 1.216 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009468/1.167, allocations: 0.7686 MB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.167, allocations: 0 / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.167, allocations: 0 / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.888e-05/1.167, allocations: 4 kB / 1.216 GB, free: 5.402 MB / 0.9356 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.001576/1.168, allocations: 0.9106 MB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.169, allocations: 8.031 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/1.169, allocations: 60.27 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/1.169, allocations: 454.3 kB / 1.218 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/1.169, allocations: 32.97 kB / 1.218 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/1.169, allocations: 36.12 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/1.17, allocations: 390.7 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.17, allocations: 7.938 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/1.17, allocations: 16 kB / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/1.17, allocations: 8 kB / 1.218 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/1.171, allocations: 290.4 kB / 1.219 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/1.173, allocations: 1.259 MB / 1.22 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.174, allocations: 498.3 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/1.174, allocations: 170.5 kB / 1.22 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/1.174, allocations: 7.984 kB / 1.22 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/1.175, allocations: 221.7 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/1.175, allocations: 4 kB / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.001037/1.176, allocations: 486.4 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/1.176, allocations: 136.5 kB / 1.221 GB, free: 208 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/1.176, allocations: 0.5097 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/1.176, allocations: 29.7 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/1.177, allocations: 240.4 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/1.177, allocations: 98.56 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.177, allocations: 70.02 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.177, allocations: 362.8 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/1.177, allocations: 130.1 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/1.178, allocations: 209.7 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/1.178, allocations: 291.1 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.178, allocations: 0 / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006945/1.179, allocations: 381.8 kB / 1.223 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.179, allocations: 4 kB / 1.223 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.179, allocations: 3.984 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.179, allocations: 4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/1.179, allocations: 67.91 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.179, allocations: 7.875 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/1.18, allocations: 43.75 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/1.18, allocations: 12 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003766/1.18, allocations: 268.7 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002802/1.18, allocations: 192.8 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004432/1.181, allocations: 263.4 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/1.181, allocations: 0 / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005736/1.181, allocations: 356.8 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/1.181, allocations: 8 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/1.181, allocations: 4 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/1.181, allocations: 8.094 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.182, allocations: 63.91 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/1.182, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/1.182, allocations: 43.75 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/1.182, allocations: 12 kB / 1.225 GB, free: 12.44 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.0001551/1.182, allocations: 206.4 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/1.182, allocations: 47.44 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/1.182, allocations: 56.77 kB / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.182, allocations: 7.922 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.182, allocations: 3.938 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/1.182, allocations: 124.5 kB / 1.225 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/1.182, allocations: 8 kB / 1.225 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.183, allocations: 23.97 kB / 1.225 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/1.183, allocations: 23.97 kB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008555/1.184, allocations: 448.6 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/1.185, allocations: 0.7257 MB / 1.226 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003126/1.185, allocations: 155.9 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004423/1.185, allocations: 363.1 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of Backend: time 7.82e-07/1.185, allocations: 0 / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002503/1.188, allocations: 0.7637 MB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001996/1.19, allocations: 1.259 MB / 1.229 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of Templates: time 0.01448/1.205, allocations: 7.447 MB / 1.236 GB, free: 0.957 MB / 0.9512 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