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.0003213/0.0003213, 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.0002837/0.0002837, 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.2118/0.2118, 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.4456/0.4456, 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 2.084e-06/2.084e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.82e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Validation.Controller): time 0.01109/0.01112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008111/0.01923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.02142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000865/0.02228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001097/0.02338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.02545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001776/0.02723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.02864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.03044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.03097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.0312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.03142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.03234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002187/0.03453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001745/0.0347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.916e-06/0.0347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.688e-05/0.03472, 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.002276/0.037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001045/0.0371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.03742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.03848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.03861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.0388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.04021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.04024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.04036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.04039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006384/0.04103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.04523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.04594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.04613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.04617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.04648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=114): time 5.811e-06/0.04649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=114): time 0.000616/0.0471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.04715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.0479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.875e-05/0.04799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.04831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.04845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.04871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.495e-05/0.04873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.04892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.04921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.04975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.04976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=223) (initialization): time 0.0009592/0.05072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.05076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.05077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.876e-05/0.05082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.05133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/0.05135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.05169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.05177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003198/0.05209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003707/0.05246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005077/0.05297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.045e-05/0.05298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.0008358/0.05382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.05384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.05386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.05388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.05434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.05436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.05467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.05473, 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.0002694/0.055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.05509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.05573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.05574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.05575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.05575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.05725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.05725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.05757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.05758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.05762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.05763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.05763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.05825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.05837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.05859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.05876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.05885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.05889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003696/0.05925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.33e-05/0.05928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000991/0.06027, 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.0003853/0.06065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001052/0.06171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.033e-05/0.06174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.06195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.06283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.06494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.06517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005285/0.0657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.06613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.37e-05/0.06616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004013/0.07018, 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.4517177268862724]