Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 110.7 kB / 16.42 MB, free: 6.492 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.001095/0.001095, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 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.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 60.11 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7371, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.004011/0.7412, allocations: 2.744 MB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.7441, allocations: 1.878 MB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.7443, allocations: 8 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.7448, allocations: 210.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.7453, allocations: 238.9 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.7467, allocations: 0.655 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008829/0.7476, allocations: 0.9167 MB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.7482, allocations: 0.5349 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.7485, allocations: 342.8 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.7489, allocations: 382.5 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.7491, allocations: 76 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.7494, allocations: 203.8 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.7496, allocations: 227.4 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.7499, allocations: 358 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000958/0.7509, allocations: 1.084 MB / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.7509, allocations: 0 / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7509, allocations: 0 / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.7509, allocations: 4 kB / 1.177 GB, free: 9.973 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001541/0.7524, allocations: 1.098 MB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7525, allocations: 12.88 kB / 1.178 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.7526, allocations: 80 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.7534, allocations: 0.5589 MB / 1.179 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.7534, allocations: 45.38 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.7535, allocations: 60.12 kB / 1.179 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.7545, allocations: 0.5717 MB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.7545, allocations: 0 / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.7546, allocations: 20 kB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.7546, allocations: 19.92 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.7554, allocations: 447.8 kB / 1.18 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.7575, allocations: 1.559 MB / 1.181 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7586, allocations: 0.5057 MB / 1.182 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.759, allocations: 235.5 kB / 1.182 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.759, allocations: 12.62 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.7596, allocations: 311 kB / 1.182 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 2.375e-06/0.7596, allocations: 4 kB / 1.182 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.001263/0.7609, allocations: 0.6701 MB / 1.183 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.761, allocations: 170.7 kB / 1.183 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.7617, allocations: 0.7172 MB / 1.184 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.7618, allocations: 53.7 kB / 1.184 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.762, allocations: 293.2 kB / 1.184 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.7621, allocations: 169.7 kB / 1.184 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.7623, allocations: 158.6 kB / 1.184 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7625, allocations: 386.7 kB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.7629, allocations: 189.9 kB / 1.185 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.7634, allocations: 360.3 kB / 1.185 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.7641, allocations: 417.2 kB / 1.186 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.7641, allocations: 8 kB / 1.186 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001079/0.7652, allocations: 0.5902 MB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7652, allocations: 8 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7653, allocations: 4 kB / 1.186 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.7653, allocations: 7.984 kB / 1.186 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.7656, allocations: 87.83 kB / 1.186 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.7656, allocations: 7.938 kB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.7659, allocations: 59.52 kB / 1.186 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.766, allocations: 27.98 kB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition5,chiNumOn.combiTimeTable.nextTimeEventScaled,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.y,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,conSpePumSta.addInt.y,conSpePumSta.booToInt1.y,conSpePumSta.booToInt.y,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.con4.t_start,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.fire,conSpePumSta.con4.enableFire,conSpePumSta.con4.localCondition,conSpePumSta.con3.t_start,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.fire,conSpePumSta.con3.enableFire,conSpePumSta.con3.localCondition,conSpePumSta.con2.t_start,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.fire,conSpePumSta.con2.enableFire,conSpePumSta.con2.localCondition,conSpePumSta.twoOn.active,conSpePumSta.twoOn.oldActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.off.oldActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.active,conSpePumSta.oneOn.active,conSpePumSta.oneOn.oldActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.localActive,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.con1.t_start,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.fire,conSpePumSta.con1.enableFire,conSpePumSta.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0003345/0.7663, allocations: 301.9 kB / 1.187 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.275e-05/0.7664, allocations: 59.25 kB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.7674, allocations: 0.5972 MB / 1.187 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.7675, allocations: 7.984 kB / 1.187 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7675, allocations: 7.938 kB / 1.187 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.7676, allocations: 140.2 kB / 1.188 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.7677, allocations: 27.92 kB / 1.188 GB, free: 14.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.7679, allocations: 23.97 kB / 1.188 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.7681, allocations: 80.56 kB / 1.188 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001036/0.7691, allocations: 0.6221 MB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009413/0.7701, allocations: 0.7351 MB / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003856/0.7705, allocations: 277 kB / 1.189 GB, free: 12.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004923/0.771, allocations: 498.8 kB / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of Backend: time 7.32e-07/0.771, allocations: 0 / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002704/0.7737, allocations: 1.102 MB / 1.191 GB, free: 11.51 MB / 0.92 GB Notification: Performance of SimCode: time 0.001891/0.7756, allocations: 1.519 MB / 1.192 GB, free: 9.945 MB / 0.92 GB Notification: Performance of Templates: time 0.01612/0.7917, allocations: 9.549 MB / 1.202 GB, free: 480 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches