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.0003946/0.0003946, 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.0005315/0.0005315, 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.4322/0.4322, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.9751/0.9751, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] 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="-alarm=800 -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="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.025e-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.006033/0.006064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007018/0.01308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0007341/0.01382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009003/0.01526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.01746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001751/0.01921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0009452/0.02016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.0221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.02324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.02353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.02389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.02432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0009267/0.02524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003225/0.02847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002096/0.02868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.599e-06/0.02868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.284e-05/0.02871, 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.005425/0.03413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001106/0.03424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.03649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.03959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004206/0.04002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.04044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.04476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.04482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.04507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.04511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.04872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009583/0.0583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.06091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.06242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.06254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003075/0.06561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=78): time 0.0001765/0.06579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=78): time 0.006901/0.07269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.07285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.07424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005098/0.07475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.07528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004568/0.07574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.07699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004333/0.07742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.07949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.08182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.08531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.506e-05/0.08533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=133) (initialization): time 0.006342/0.09167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.09181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.09184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.678e-05/0.09189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.09302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.613e-05/0.09308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.09421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.09453, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 81 ($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.edg.y,capReq1.edg.u,$PRE.capReq1.edg.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.edg.y,capReq2.edg.u,$PRE.capReq2.edg.u,capReq2.triSam.y,$PRE.capReq2.triSam.y,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,chaPro.y,capReq.edg.u,$PRE.capReq.edg.u,capReq.edg.y,$whenCondition19,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 (129): * Single equations (assignments): 127 * 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.001565/0.09609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/0.09667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008794/0.1109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.1109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/0.1116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.371e-05/0.1117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.1119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.1119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007713/0.1197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.1209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/0.1214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.1223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/0.123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/0.1233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0009078/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.675e-05/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00256/0.1268, 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: 48 (capReq2.edg.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,capReq2.triSam.y,capReq2.edg.u,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,capReq1.edg.y,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition9,capReq1.triSam.y,capReq1.edg.u,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,capReq.edg.y,$whenCondition19,$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: 18 (capReq.truFalHol.entryTimeFalse,capReq.truFalHol.entryTimeTrue,capReq.truFalHol.y,capReq.truFalHol.not_y,capReq1.truFalHol.entryTimeFalse,capReq1.truFalHol.entryTimeTrue,capReq1.truFalHol.u,capReq1.truFalHol.not_u,capReq1.truFalHol.y,capReq1.truFalHol.not_y,capReq1.edg.u,capReq2.truFalHol.entryTimeFalse,capReq2.truFalHol.entryTimeTrue,capReq2.truFalHol.u,capReq2.truFalHol.not_u,capReq2.truFalHol.y,capReq2.truFalHol.not_y,capReq2.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 61 * 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.0008301/0.1276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004653/0.1323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001983/0.1343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/0.1379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.1436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/0.1445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0007566/0.1452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/0.1465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006943/0.1472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003175/0.1503, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.CapacityRequirement.diff",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.865492892000475]