Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006026/0.0006026, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8453/0.8453, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,startTime=0,stopTime=1440,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,startTime=0,stopTime=1440,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 7.81e-07/7.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.074e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.03476/0.03479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03652/0.07131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.07192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001126/0.07305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001788/0.07483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.0782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002534/0.08073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.08223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.08373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.08432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.08452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.08527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005902/0.08586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.08624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002488/0.08873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.134e-05/0.08882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.585e-06/0.08882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.799e-05/0.08884, allocations: 0 / 0, free: 0 / 0 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.009682/0.09852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0008467/0.09937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.1006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.1025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.1051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.1069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.1128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.1147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.1154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.272e-05/0.1154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.1165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=65): time 1.39e-05/0.1165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=65): time 0.003501/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.1202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003101/0.1243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000971/0.1253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009435/0.1267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.002137/0.1288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.1296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.1307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=89) (initialization): time 0.002562/0.1346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.1346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.1346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.1355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.1355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.1361, allocations: 0 / 0, free: 0 / 0 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.0008063/0.1369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.1373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.1449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.1449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.1453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.1453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.1455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.1455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.1485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.1489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.1494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/0.15, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.1501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001222/0.1513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.25e-05/0.1513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002078/0.1534, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 46 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.active,conSpePumSta.off.active,conSpePumSta.oneOn.active,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.localCondition,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.off.localActive,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.con2.localCondition,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con3.localCondition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con4.localCondition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001436/0.1548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002652/0.1575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.1575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.1614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/0.1674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.1681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006255/0.1687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/0.1694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.022e-05/0.1695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.03592/0.2054, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.97609169781208]