Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003195/0.0003195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000587/0.0009065, 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.0002241/0.0002241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000417/0.0006412, 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.2436/0.2436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04196/0.2856, 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.4372/0.4372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/0.5588, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 15.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.HeadPressure.Validation.Controller,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|enaWSE.TConWatRet|enaWSE.TChiWatSup|enaWSE.chiHeaPreLoo.conPID.u_s|enaWSE.chiHeaPreLoo.conPID.u_m|enaWSE.chiHeaPreLoo.conPID.y|enaWSE.uChiHeaCon|enaWSE.yMaxTowSpeSet|enaWSE.yHeaPreConVal|enaWSE.yConWatPumSpeSet|disWSE.yMaxTowSpeSet|disWSE.yHeaPreConVal|disWSE.yConWatPumSpeSet|conSpePum.yMaxTowSpeSet|conSpePum.yHeaPreConVal|varSpePum.yMaxTowSpeSet|varSpePum.yConWatPumSpeSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|enaWSE.TConWatRet|enaWSE.TChiWatSup|enaWSE.chiHeaPreLoo.conPID.u_s|enaWSE.chiHeaPreLoo.conPID.u_m|enaWSE.chiHeaPreLoo.conPID.y|enaWSE.uChiHeaCon|enaWSE.yMaxTowSpeSet|enaWSE.yHeaPreConVal|enaWSE.yConWatPumSpeSet|disWSE.yMaxTowSpeSet|disWSE.yHeaPreConVal|disWSE.yConWatPumSpeSet|conSpePum.yMaxTowSpeSet|conSpePum.yHeaPreConVal|varSpePum.yMaxTowSpeSet|varSpePum.yConWatPumSpeSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/1.998e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller): time 0.008304/0.008324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007874/0.0162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.0187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.01964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002225/0.02187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.0241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001983/0.02608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.02747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.0294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.02992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.03013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.03032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.03071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005482/0.03125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00169/0.03294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001825/0.03313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.294e-06/0.03313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.634e-05/0.03316, 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002507/0.03566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001042/0.03577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.03618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.03743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.03758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.03779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.03954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.03958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.03974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.03978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.0406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.04568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.04654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.04677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.04682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.04719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=114): time 1.201e-05/0.0472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=114): time 0.0007584/0.04796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/0.04887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.04897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.04938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.04955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.04989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.44e-05/0.04993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.05017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.05058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.05131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.05132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=223) (initialization): time 0.001118/0.05244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.05249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.05251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/0.05255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.05315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.771e-05/0.05318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.05363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.79e-05/0.05373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.05413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005154/0.05465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006453/0.05529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.337e-05/0.05531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.001039/0.05635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.05637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.05639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.05642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.05699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.05702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.05743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.05751, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 51 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,varSpePum.pre.u,conSpePum.pre.u,disWSE.pre.u,enaWSE.pre.u,enaWSE.fixSpeWSE.y,enaWSE.not1.u,disWSE.fixSpeWSE.y,disWSE.not1.u,conSpePum.fixSpeWSE.y,conSpePum.not1.u,varSpePum.fixSpeWSE.y,varSpePum.not1.u,disWSE.withWSE.swi2.u2,disWSE.withWSE.swi4.u2,disWSE.withWSE.swi5.u2,disWSE.withWSE.uWSE,disWSE.uWSE,not1.y,runWSE.y,$PRE.varSpePum.pre.u,varSpePum.noWSE.uHeaPreEna,$PRE.conSpePum.pre.u,conSpePum.noWSE.uHeaPreEna,$PRE.disWSE.pre.u,disWSE.withWSE.uHeaPreEna,$PRE.enaWSE.pre.u,enaWSE.withWSE.uHeaPreEna,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,varSpePum.fixSpe.y,varSpePum.havWSE.y,varSpePum.not1.y,varSpePum.chiHeaPreLoo.conPID.conPID.cheYMinMax.y,conSpePum.fixSpe.y,conSpePum.havWSE.y,conSpePum.not1.y,conSpePum.chiHeaPreLoo.conPID.conPID.cheYMinMax.y,disWSE.fixSpe.y,disWSE.havWSE.y,disWSE.not1.y,disWSE.chiHeaPreLoo.conPID.conPID.cheYMinMax.y,enaWSE.fixSpe.y,enaWSE.havWSE.y,enaWSE.not1.y,enaWSE.chiHeaPreLoo.conPID.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 1 * 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.0003282/0.05784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.05794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007848/0.05873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.05874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.05875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.05875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.06048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.06049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.06089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.0609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.06094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.06095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.06095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.06173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.0619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.06216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.06237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.06249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.06252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004465/0.06297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.678e-05/0.063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001132/0.06413, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (enaWSE.chiHeaPreLoo.conPID.conPID.I.y,disWSE.chiHeaPreLoo.conPID.conPID.I.y,conSpePum.chiHeaPreLoo.conPID.conPID.I.y,varSpePum.chiHeaPreLoo.conPID.conPID.I.y) * Number of discrete variables: 15 (enaWSE.withWSE.uHeaPreEna,disWSE.withWSE.uHeaPreEna,conSpePum.noWSE.uHeaPreEna,varSpePum.noWSE.uHeaPreEna,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,enaWSE.pre.u,disWSE.pre.u,conSpePum.pre.u,varSpePum.pre.u,booPul.y) * Number of discrete states: 4 (varSpePum.pre.u,conSpePum.pre.u,disWSE.pre.u,enaWSE.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000479/0.06461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001292/0.0659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.833e-05/0.06594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000274/0.06621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.06728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.06994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.07022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000707/0.07092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.07143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.075e-05/0.07147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006003/0.07748, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_HeadPressure_Validation_Controller.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: 1.496156396344304]