Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 110.3 kB / 16.42 MB, free: 6.031 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.00102/0.00102, allocations: 187.3 kB / 17.35 MB, free: 5.602 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.254/1.254, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.349/2.349, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6183/0.6195, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated): time 0.003283/0.6228, allocations: 2.336 MB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.6249, allocations: 1.43 MB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.625, allocations: 4 kB / 1.23 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.6254, allocations: 95.34 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.6257, allocations: 127.2 kB / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.6264, allocations: 387 kB / 1.231 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.6269, allocations: 0.5573 MB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.6273, allocations: 308.8 kB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.6275, allocations: 215.2 kB / 1.232 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.6277, allocations: 227 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.6278, allocations: 51.98 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.628, allocations: 120 kB / 1.232 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.6281, allocations: 135.6 kB / 1.232 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.6283, allocations: 214.9 kB / 1.232 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.6289, allocations: 0.6465 MB / 1.233 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6289, allocations: 0 / 1.233 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6289, allocations: 0 / 1.233 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.6289, allocations: 0 / 1.233 GB, free: 6.676 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001057/0.63, allocations: 0.8063 MB / 1.234 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.63, allocations: 8.031 kB / 1.234 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.6301, allocations: 52.61 kB / 1.234 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.6305, allocations: 380.1 kB / 1.234 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.6306, allocations: 29.03 kB / 1.234 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.6306, allocations: 35.94 kB / 1.234 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.6313, allocations: 418.6 kB / 1.235 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6313, allocations: 0 / 1.235 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.6314, allocations: 12 kB / 1.235 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.6314, allocations: 20.58 kB / 1.235 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.6321, allocations: 314.3 kB / 1.235 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.6335, allocations: 1.092 MB / 1.236 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.6342, allocations: 351 kB / 1.236 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.6345, allocations: 152.8 kB / 1.237 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.6346, allocations: 15.98 kB / 1.237 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.635, allocations: 233.8 kB / 1.237 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.635, allocations: 0 / 1.237 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39): time 0.001032/0.636, allocations: 490.4 kB / 1.237 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.6361, allocations: 110.8 kB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.6365, allocations: 408.4 kB / 1.238 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.6365, allocations: 49.69 kB / 1.238 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.6366, allocations: 201 kB / 1.238 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.6367, allocations: 103.2 kB / 1.238 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.6369, allocations: 110.2 kB / 1.238 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.637, allocations: 354.7 kB / 1.239 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.6373, allocations: 149 kB / 1.239 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.6377, allocations: 246.5 kB / 1.239 GB, free: 348 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.6383, allocations: 354.5 kB / 1.239 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6384, allocations: 0 / 1.239 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008411/0.6392, allocations: 489.3 kB / 1.24 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.6392, allocations: 41.69 kB / 1.24 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6393, allocations: 0 / 1.24 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6393, allocations: 4 kB / 1.24 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.6396, allocations: 67.83 kB / 1.24 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6396, allocations: 12.12 kB / 1.24 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.6399, allocations: 63.69 kB / 1.24 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.6399, allocations: 23.94 kB / 1.24 GB, free: 15.26 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition4,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,cooModCon.swi.expr[2],cooModCon.swi.expr[1],chiNumOn.combiTimeTable.nextTimeEventScaled,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.y,TCHWSup.count,$PRE.TCHWSup.count,TCHWSup.T_start,$PRE.TCHWSup.T_start,cooModCon.stateGraphRoot.activeSteps,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.localCondition,cooModCon.swi.firstActiveIndex,cooModCon.swi.y,$PRE.cooModCon.swi.y,cooModCon.con1.t_start,$PRE.cooModCon.con1.t_start,cooModCon.con1.fire,cooModCon.con1.enableFire,cooModCon.con1.localCondition,cooModCon.fulMecCoo.active,cooModCon.fulMecCoo.oldActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.freCoo.active,cooModCon.freCoo.oldActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.localActive,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0002016/0.6401, allocations: 208.8 kB / 1.24 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.6402, allocations: 39.77 kB / 1.24 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.641, allocations: 405.2 kB / 1.241 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.641, allocations: 3.984 kB / 1.241 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.641, allocations: 0 / 1.241 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6411, allocations: 116.8 kB / 1.241 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.6411, allocations: 19.92 kB / 1.241 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.6414, allocations: 27.97 kB / 1.241 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.6415, allocations: 67.64 kB / 1.241 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008992/0.6424, allocations: 472.6 kB / 1.241 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007442/0.6432, allocations: 0.5527 MB / 1.242 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000325/0.6435, allocations: 179.8 kB / 1.242 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002299/0.6437, allocations: 275 kB / 1.242 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of Backend: time 3.91e-07/0.6437, allocations: 0 / 1.242 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.6454, allocations: 0.7156 MB / 1.243 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001045/0.6464, allocations: 1.09 MB / 1.244 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.1766/0.823, allocations: 6.393 MB / 1.25 GB, free: 4.848 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches