Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement.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.0004821/0.0004821, 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.0004448/0.0004448, 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.2855/0.2855, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.7094/0.7094, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|capReq.y|capReq.chaPro|capReq.VChiWat_flow|capReq.TChiWatRet|capReq.TChiWatSupSet|capReq1.y|capReq1.chaPro|capReq1.VChiWat_flow|capReq1.TChiWatRet|capReq1.TChiWatSupSet|capReq2.y|capReq2.chaPro|capReq2.VChiWat_flow|capReq2.TChiWatRet|capReq2.TChiWatSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|capReq.y|capReq.chaPro|capReq.VChiWat_flow|capReq.TChiWatRet|capReq.TChiWatSupSet|capReq1.y|capReq1.chaPro|capReq1.VChiWat_flow|capReq1.TChiWatRet|capReq1.TChiWatSupSet|capReq2.y|capReq2.chaPro|capReq2.VChiWat_flow|capReq2.TChiWatRet|capReq2.TChiWatSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 6.11e-07/6.11e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.468e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement): time 0.008019/0.008033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006929/0.01496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.01544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.01572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007754/0.01649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.01841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001364/0.01977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.02049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.02202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.02261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.02286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.02309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.0233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.02375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001435/0.02519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.373e-05/0.02527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.783e-06/0.02527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.381e-05/0.02529, 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003313/0.0286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001233/0.02872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.03143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.03169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.03196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.0344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/0.03444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.03463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.03465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.03646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/0.04255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.04383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.04452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.04459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.0461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=72): time 1.103e-05/0.04611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=72): time 0.00343/0.04954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.04961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.05057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.0508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.0512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000351/0.05155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007481/0.0523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000275/0.05257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/0.05356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.05478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.05652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.05654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=126) (initialization): time 0.003508/0.06005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.06014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.06016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/0.0602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.06095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.06098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.06179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.062, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 71 ($whenCondition8,$whenCondition9,chaPro1.y,$PRE.chaPro1.y,capReq1.movMea.mode,$PRE.capReq1.movMea.mode,capReq1.truFalHol.entryTimeFalse,$PRE.capReq1.truFalHol.entryTimeFalse,capReq1.truFalHol.entryTimeTrue,$PRE.capReq1.truFalHol.entryTimeTrue,capReq1.truFalHol.not_y,$PRE.capReq1.truFalHol.not_y,capReq1.truFalHol.not_u,$PRE.capReq1.truFalHol.not_u,capReq1.truFalHol.y,$PRE.capReq1.truFalHol.y,capReq1.truFalHol.u,$PRE.capReq1.truFalHol.u,capReq1.triSam.y,$PRE.capReq1.triSam.y,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition1,$whenCondition2,chaPro2.y,$PRE.chaPro2.y,capReq2.movMea.mode,$PRE.capReq2.movMea.mode,capReq2.truFalHol.entryTimeFalse,$PRE.capReq2.truFalHol.entryTimeFalse,capReq2.truFalHol.entryTimeTrue,$PRE.capReq2.truFalHol.entryTimeTrue,capReq2.truFalHol.not_y,$PRE.capReq2.truFalHol.not_y,capReq2.truFalHol.not_u,$PRE.capReq2.truFalHol.not_u,capReq2.truFalHol.y,$PRE.capReq2.truFalHol.y,capReq2.truFalHol.u,$PRE.capReq2.truFalHol.u,capReq2.triSam.y,$PRE.capReq2.triSam.y,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,chaPro.y,capReq.truFalHol.u,$PRE.capReq.truFalHol.u,capReq.movMea.mode,$PRE.capReq.movMea.mode,capReq.truFalHol.entryTimeFalse,$PRE.capReq.truFalHol.entryTimeFalse,capReq.truFalHol.entryTimeTrue,$PRE.capReq.truFalHol.entryTimeTrue,capReq.truFalHol.not_y,$PRE.capReq.truFalHol.not_y,capReq.truFalHol.y,$PRE.capReq.truFalHol.y,capReq.triSam.y,$PRE.capReq.triSam.y,$whenCondition15,$whenCondition16,$whenCondition18,capReq.truFalHol.not_u,$PRE.capReq.truFalHol.not_u,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 2 * 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.0007857/0.06279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.06318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.06586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.06587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.06588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.0659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.0704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.07041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.07085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.07087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.07101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.07103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.07103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.0747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/0.0755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/0.07588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/0.07658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/0.07705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/0.07721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004973/0.07771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.176e-05/0.07772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002199/0.07992, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (capReq2.movMea.mu,capReq1.movMea.mu,capReq.movMea.mu) * Number of discrete variables: 42 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,capReq2.triSam.y,capReq2.truFalHol.u,capReq2.truFalHol.y,capReq2.truFalHol.not_u,capReq2.truFalHol.not_y,capReq2.truFalHol.entryTimeTrue,capReq2.truFalHol.entryTimeFalse,capReq2.movMea.mode,chaPro2.y,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition9,capReq1.triSam.y,capReq1.truFalHol.u,capReq1.truFalHol.y,capReq1.truFalHol.not_u,capReq1.truFalHol.not_y,capReq1.truFalHol.entryTimeTrue,capReq1.truFalHol.entryTimeFalse,capReq1.movMea.mode,chaPro1.y,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,capReq.triSam.y,capReq.truFalHol.y,capReq.truFalHol.not_y,capReq.truFalHol.entryTimeTrue,capReq.truFalHol.entryTimeFalse,capReq.movMea.mode) * Number of discrete states: 16 (capReq.truFalHol.entryTimeFalse,capReq.truFalHol.entryTimeTrue,capReq.truFalHol.y,capReq.truFalHol.not_y,capReq1.truFalHol.entryTimeFalse,capReq1.truFalHol.entryTimeTrue,capReq1.truFalHol.not_u,capReq1.truFalHol.u,capReq1.truFalHol.y,capReq1.truFalHol.not_y,capReq2.truFalHol.entryTimeFalse,capReq2.truFalHol.entryTimeTrue,capReq2.truFalHol.not_u,capReq2.truFalHol.u,capReq2.truFalHol.y,capReq2.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0006661/0.08059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002354/0.08294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.08295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009492/0.0839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.08687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.0908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.09113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005789/0.09171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.09219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.262e-05/0.09223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002889/0.09512, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Staging_SetPoints_Subsequences_Validation_CapacityRequirement.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: 2.6238944930955768]