Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001034/0.001034, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001036/0.001036, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.966/0.966, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.909/1.909, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.8116 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.386e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001413/0.001447, allocations: 0.6698 MB / 0.8123 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.001595, allocations: 15.94 kB / 0.8123 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.001638, allocations: 2.406 kB / 0.8123 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.001741, allocations: 7.922 kB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.00178, allocations: 0 / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.818e-05/0.001858, allocations: 8 kB / 0.8123 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.001944, allocations: 27.91 kB / 0.8123 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.002084, allocations: 19.98 kB / 0.8123 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.002125, allocations: 21.27 kB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.002162, allocations: 15.97 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.002187, allocations: 4 kB / 0.8124 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.002198, allocations: 0 / 0.8124 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.002233, allocations: 13.44 kB / 0.8124 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.00226, allocations: 4 kB / 0.8124 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.08e-05/0.002351, allocations: 39.83 kB / 0.8124 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.002353, allocations: 4 kB / 0.8124 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002354, allocations: 0.5312 kB / 0.8124 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.002358, allocations: 0.5312 kB / 0.8124 GB, free: 1.121 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002988/0.002657, allocations: 377.7 kB / 0.8128 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.002698, allocations: 8.031 kB / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.002737, allocations: 16.83 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.002876, allocations: 121 kB / 0.8129 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.002893, allocations: 8.375 kB / 0.8129 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.002908, allocations: 4.906 kB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.003024, allocations: 51.61 kB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.003031, allocations: 192 / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.003042, allocations: 4.375 kB / 0.813 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.00305, allocations: 384 / 0.813 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.003082, allocations: 21.03 kB / 0.813 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.003499, allocations: 0.5215 MB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.003589, allocations: 273.5 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.003625, allocations: 131.8 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.003654, allocations: 119.2 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.003701, allocations: 157.5 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.003703, allocations: 0 / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.338e-05/0.003766, allocations: 29.66 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.003819, allocations: 175.6 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.003921, allocations: 181.9 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.003929, allocations: 26.73 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.003985, allocations: 146.8 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.003987, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.004015, allocations: 20.78 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.004126, allocations: 0.4922 MB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.004136, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.004143, allocations: 4 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.004173, allocations: 9.031 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.004175, allocations: 0 / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.117e-05/0.004266, allocations: 44.59 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.004278, allocations: 4 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004283, allocations: 4 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.004295, allocations: 0 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.00435, allocations: 3.984 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.004355, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.004368, allocations: 4 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.004378, allocations: 4.312 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.000301/0.004679, allocations: 280.2 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.004728, allocations: 150.8 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.004786, allocations: 156.3 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/0.004848, allocations: 264.1 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/0.004913, allocations: 284.1 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.384e-05/0.004966, allocations: 264.1 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.00514, allocations: 0.5054 MB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.005174, allocations: 152.8 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.005203, allocations: 144.9 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.719e-05/0.005261, allocations: 272 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.005319, allocations: 269 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.664e-05/0.005376, allocations: 276 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.025e-05/0.005436, allocations: 276 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.005572, allocations: 448.7 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.00561, allocations: 148.9 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.005684, allocations: 272.9 kB / 0.8193 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.005743, allocations: 152.8 kB / 0.8194 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.0058, allocations: 265.4 kB / 0.8197 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.005837, allocations: 148.8 kB / 0.8198 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.005891, allocations: 143.2 kB / 0.8199 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005891, allocations: 0 / 0.8199 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001464/0.006037, allocations: 8.781 kB / 0.82 GB, free: 9.023 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001302/0.006168, allocations: 217.1 kB / 0.8202 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.655e-05/0.006244, allocations: 7.688 kB / 0.8202 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006246, allocations: 0 / 0.8202 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.006247, allocations: 0 / 0.8202 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.006614, allocations: 0.71 MB / 0.8209 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.006883, allocations: 260.1 kB / 0.8211 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.006917, allocations: 59.34 kB / 0.8212 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.006935, allocations: 4 kB / 0.8212 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.006958, allocations: 8.5 kB / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of SimCode: time 5.82e-07/0.006958, allocations: 0 / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of Templates: time 0.001995/0.008953, allocations: 322.4 kB / 0.8215 GB, free: 7.406 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.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.2144735609181225]