Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand.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.0004911/0.0004911, 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.0005148/0.0005148, 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.4158/0.4158, 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 1.006/1.006, 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.Processes.Subsequences.Validation.ReduceDemand,startTime=0,stopTime=600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|chiDemRed.uDemLim|chiDemRed.uChiLoa|chiDemRed.uChi.1.|chiDemRed.uChi.2.|chiDemRed.yChiDem|chiDemRed.yChiDemRed|chiDemRed1.uDemLim|chiDemRed1.uStaDow|chiDemRed1.uOnOff|chiDemRed1.uChiLoa|chiDemRed1.yOpeParLoaRatMin|chiDemRed1.uChi.1.|chiDemRed1.uChi.2.|chiDemRed1.yChiDem|chiDemRed1.yChiDemRed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand",simflags="-alarm=800 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand,startTime=0,stopTime=600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|chiDemRed.uDemLim|chiDemRed.uChiLoa|chiDemRed.uChi.1.|chiDemRed.uChi.2.|chiDemRed.yChiDem|chiDemRed.yChiDemRed|chiDemRed1.uDemLim|chiDemRed1.uStaDow|chiDemRed1.uOnOff|chiDemRed1.uChiLoa|chiDemRed1.yOpeParLoaRatMin|chiDemRed1.uChi.1.|chiDemRed1.uChi.2.|chiDemRed1.yChiDem|chiDemRed1.yChiDemRed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand",simflags="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.535e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand): time 0.006677/0.006712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005908/0.01262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.01322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.01388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000632/0.01451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.01651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001639/0.01815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.01954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.0211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.02212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.02242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.02274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.02319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0009057/0.0241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003321/0.02742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002058/0.02762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.625e-06/0.02763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.052e-05/0.02765, 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004853/0.0325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001086/0.03261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.03355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.03621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.03642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.03683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.04126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/0.04132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.04156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.04161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.04469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/0.05411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.05636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/0.05725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.05735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.05918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=65): time 9.894e-05/0.05927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=65): time 0.004255/0.06353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.06366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.06481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003589/0.06517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.06565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.06601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.06711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004553/0.06757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.06914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.07108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.0737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/0.07373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=112) (initialization): time 0.005041/0.07877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.0789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/0.07894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-05/0.07899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.07967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.088e-05/0.07973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.08075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.08102, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 78 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,$whenCondition10,$whenCondition11,zerOrdHol.sampleTrigger,$whenCondition9,zerOrdHol.ySample,$PRE.zerOrdHol.ySample,booPul.y,$PRE.booPul.y,chiDemRed.lat.y,$PRE.chiDemRed.lat.y,chiDemRed.lat.clr,chiDemRed.lat.u,chiDemRed.or2.y,chiDemRed.tim.entryTime,$PRE.chiDemRed.tim.entryTime,chiDemRed.tim.passed,$PRE.chiDemRed.tim.passed,chiDemRed.finRedDem.y,chiDemRed.edg.u,$PRE.chiDemRed.edg.u,chiDemRed.hys.y,$PRE.chiDemRed.hys.y,chiDemRed.triSam.y,$PRE.chiDemRed.triSam.y,chiDemRed.yChiDemRed,$whenCondition12,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition14,zerOrdHol1.firstTrigger,$PRE.zerOrdHol1.firstTrigger,$whenCondition2,$whenCondition3,zerOrdHol1.sampleTrigger,$whenCondition1,zerOrdHol1.ySample,$PRE.zerOrdHol1.ySample,booPul1.y,$PRE.booPul1.y,chiDemRed1.lat.y,$PRE.chiDemRed1.lat.y,chiDemRed1.lat.clr,chiDemRed1.lat.u,chiDemRed1.or2.y,chiDemRed1.tim.entryTime,$PRE.chiDemRed1.tim.entryTime,chiDemRed1.tim.passed,$PRE.chiDemRed1.tim.passed,chiDemRed1.finRedDem.y,chiDemRed1.edg.u,$PRE.chiDemRed1.edg.u,chiDemRed1.hys.y,$PRE.chiDemRed1.hys.y,chiDemRed1.triSam.y,$PRE.chiDemRed1.triSam.y,chiDemRed1.yChiDemRed,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6,chiDemRed1.upFroZer.u2,chiDemRed1.noEnaChi.y,chiDemRed.upFroZer.u2,chiDemRed.noEnaChi.y,onOff.y,staDow.y,chiOn.y,chiDemRed.and1.y,chiDemRed.mulOr.uTemp[2],chiDemRed.upFroZer.y,chiOn1[2].y,chiOn1[1].y,chiDemRed1.mulOr.uTemp[2],chiDemRed1.upFroZer.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * 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.001345/0.08237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.08275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.08612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.08614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.08615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.08617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/0.0923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.09231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.09266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/0.09268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.09285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/0.09287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.09287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.09624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.09661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.09691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.09745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/0.09797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.09813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000635/0.09877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.139e-05/0.09879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002279/0.1011, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (chiDemRed1.yChiDemRed,chiDemRed1.lat.u,chiDemRed1.lat.clr,zerOrdHol1.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,chiDemRed1.triSam.y,chiDemRed1.hys.y,chiDemRed1.edg.u,chiDemRed1.finRedDem.y,chiDemRed1.tim.passed,chiDemRed1.tim.entryTime,chiDemRed1.or2.y,chiDemRed1.lat.y,booPul1.y,zerOrdHol1.ySample,zerOrdHol1.firstTrigger,chiDemRed.yChiDemRed,chiDemRed.lat.u,chiDemRed.lat.clr,zerOrdHol.sampleTrigger,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition10,$whenCondition11,$whenCondition9,chiDemRed.triSam.y,chiDemRed.hys.y,chiDemRed.edg.u,chiDemRed.finRedDem.y,chiDemRed.tim.passed,chiDemRed.tim.entryTime,chiDemRed.or2.y,chiDemRed.lat.y,booPul.y,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 8 (chiDemRed.tim.entryTime,zerOrdHol.ySample,chiDemRed.edg.u,chiDemRed.hys.y,chiDemRed1.tim.entryTime,zerOrdHol1.ySample,chiDemRed1.edg.u,chiDemRed1.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0006259/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003272/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001175/0.1061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.1089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.1137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008723/0.1146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005696/0.1151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/0.116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004984/0.1165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002552/0.119, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Staging_Processes_Subsequences_Validation_ReduceDemand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.ReduceDemand.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.8923758439996163]