Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [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.0009708/0.0009708, allocations: 167.4 kB / 24.86 MB, free: 9.285 MB / 18.57 MB " [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.9468/0.9468, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.862/1.862, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8127 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.154e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001769/0.001791, allocations: 1.117 MB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.002961, allocations: 1.105 MB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.003073, allocations: 0.7812 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.003121, allocations: 19.73 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.003258, allocations: 49.12 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.003551, allocations: 92.86 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.003763, allocations: 247.2 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.003898, allocations: 71.78 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.004129, allocations: 152.5 kB / 0.8155 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.004224, allocations: 85.38 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.004255, allocations: 24 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/0.004302, allocations: 24 kB / 0.8157 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.004336, allocations: 51.83 kB / 0.8157 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.004387, allocations: 71.81 kB / 0.8158 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.00459, allocations: 176.8 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.004594, allocations: 4 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004595, allocations: 0 / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004599, allocations: 0 / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005637/0.005163, allocations: 0.5533 MB / 0.8165 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.005195, allocations: 11.97 kB / 0.8165 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.005348, allocations: 52.78 kB / 0.8165 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.005542, allocations: 188.8 kB / 0.8167 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.00562, allocations: 127.3 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.005645, allocations: 17.28 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.00583, allocations: 140.1 kB / 0.817 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.00584, allocations: 192 / 0.817 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.005855, allocations: 9.75 kB / 0.817 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005862, allocations: 11.88 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.005936, allocations: 47.91 kB / 0.8171 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.006428, allocations: 466.3 kB / 0.8175 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.006587, allocations: 79.33 kB / 0.8176 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.006632, allocations: 39.92 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.006654, allocations: 8.469 kB / 0.8176 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.006769, allocations: 105.5 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.006771, allocations: 0 / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002318/0.007002, allocations: 140.5 kB / 0.8179 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.007036, allocations: 65 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007139, allocations: 226.8 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.007155, allocations: 29.7 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.007223, allocations: 191.2 kB / 0.8184 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.007271, allocations: 63.45 kB / 0.8184 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.007323, allocations: 47.84 kB / 0.8185 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.007443, allocations: 0.5006 MB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.007481, allocations: 19.98 kB / 0.819 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.007536, allocations: 59.8 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.007633, allocations: 94.89 kB / 0.8191 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007635, allocations: 1.156 kB / 0.8191 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001567/0.007792, allocations: 149.4 kB / 0.8193 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007803, allocations: 4 kB / 0.8193 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007808, allocations: 0.5625 kB / 0.8193 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.007817, allocations: 5.125 kB / 0.8193 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.007927, allocations: 39.97 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.007931, allocations: 7.938 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.007991, allocations: 20.84 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.008001, allocations: 8 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 8.692e-05/0.008088, allocations: 168.4 kB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.008114, allocations: 30.06 kB / 0.8195 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.008143, allocations: 21.81 kB / 0.8195 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008145, allocations: 3.938 kB / 0.8196 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.008147, allocations: 0 / 0.8196 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.00815, allocations: 0 / 0.8196 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.008285, allocations: 165.1 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008287, allocations: 6.719 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.008388, allocations: 31.98 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.00839, allocations: 0 / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.008403, allocations: 11.94 kB / 0.8198 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.008406, allocations: 7.984 kB / 0.8198 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.008408, allocations: 0 / 0.8198 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.008629, allocations: 192.1 kB / 0.8199 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.008649, allocations: 25.25 kB / 0.82 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.008665, allocations: 4 kB / 0.82 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.008714, allocations: 15.98 kB / 0.82 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.008759, allocations: 16.47 kB / 0.82 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.00877, allocations: 13.86 kB / 0.82 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.008824, allocations: 151.1 kB / 0.8202 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008824, allocations: 0 / 0.8202 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001619/0.008986, allocations: 51.89 kB / 0.8202 GB, free: 9.574 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.663e-05/0.009073, allocations: 104.5 kB / 0.8203 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.009217, allocations: 96.38 kB / 0.8204 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009218, allocations: 0 / 0.8204 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.009281, allocations: 58.34 kB / 0.8205 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.00951, allocations: 44.59 kB / 0.8205 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.01019, allocations: 402.4 kB / 0.8209 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.01023, allocations: 76.22 kB / 0.821 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.0103, allocations: 16.05 kB / 0.821 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01041, allocations: 106.2 kB / 0.8211 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01041, allocations: 0 / 0.8211 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of Templates: time 0.004547/0.01496, allocations: 2.659 MB / 0.8237 GB, free: 6.047 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.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: 5.115152448415756]