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.001004/0.001004, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001034/0.001034, allocations: 185 kB / 24.09 MB, free: 416 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.9311/0.9311, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.956/1.956, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.655e-06/2.655e-06, allocations: 0.5469 kB / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.852e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001345/0.001374, allocations: 0.6826 MB / 0.8127 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001616/0.001535, allocations: 12 kB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.001581, allocations: 1.594 kB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.001685, allocations: 3.938 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.001726, allocations: 0 / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.584e-05/0.001792, allocations: 7.984 kB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.001859, allocations: 24.8 kB / 0.8128 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.001973, allocations: 23.97 kB / 0.8128 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.002013, allocations: 24.86 kB / 0.8128 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.911e-05/0.002042, allocations: 4 kB / 0.8128 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.00206, allocations: 4 kB / 0.8128 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.00207, allocations: 1.531 kB / 0.8128 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.002101, allocations: 15.92 kB / 0.8129 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.002124, allocations: 11.98 kB / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.002203, allocations: 31.8 kB / 0.8129 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.002206, allocations: 5.688 kB / 0.8129 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002206, allocations: 0 / 0.8129 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00221, allocations: 0 / 0.8129 GB, free: 0.543 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.000275/0.002485, allocations: 376.6 kB / 0.8133 GB, free: 140 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.00252, allocations: 13.34 kB / 0.8133 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.002547, allocations: 8.891 kB / 0.8133 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.002661, allocations: 132.5 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.002668, allocations: 384 / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.002677, allocations: 10.12 kB / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.002753, allocations: 50.19 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.002759, allocations: 192 / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.002765, allocations: 384 / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002769, allocations: 384 / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.002789, allocations: 21.27 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.003099, allocations: 0.5025 MB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.003177, allocations: 261.4 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.003208, allocations: 128.8 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.003235, allocations: 123.2 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.00328, allocations: 152.6 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.003281, allocations: 3.938 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.734e-05/0.003338, allocations: 33.66 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.003389, allocations: 173.1 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.003483, allocations: 177.8 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.003492, allocations: 25.7 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.003555, allocations: 150.7 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-06/0.003556, allocations: 0 / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.003581, allocations: 19.38 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.003699, allocations: 0.4884 MB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.003706, allocations: 0.7188 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.003712, allocations: 0.5312 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.003742, allocations: 21.22 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003744, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.401e-05/0.003818, allocations: 37.66 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.003829, allocations: 8 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.003833, allocations: 0.6562 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.003841, allocations: 1.219 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.003881, allocations: 7.984 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.003883, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.003895, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.003902, allocations: 5.156 kB / 0.8157 GB, free: 13.46 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 8.241e-05/0.003985, allocations: 279.7 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.004033, allocations: 158 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.004081, allocations: 152.3 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/0.004143, allocations: 272 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.577e-05/0.004209, allocations: 268.7 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.004281, allocations: 268.1 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.004459, allocations: 493.2 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/0.004495, allocations: 152.9 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.004533, allocations: 153.6 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.009e-05/0.004593, allocations: 264.1 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.004657, allocations: 277.8 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.354e-05/0.004721, allocations: 268 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.368e-05/0.004785, allocations: 268.1 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.004912, allocations: 447.9 kB / 0.8193 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.004955, allocations: 152.8 kB / 0.8194 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.005021, allocations: 272.8 kB / 0.8197 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.005078, allocations: 148.9 kB / 0.8198 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.005136, allocations: 274.3 kB / 0.8201 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.005171, allocations: 152.9 kB / 0.8202 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.005219, allocations: 131.5 kB / 0.8204 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005219, allocations: 0 / 0.8204 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001346/0.005353, allocations: 7.938 kB / 0.8204 GB, free: 8.523 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.0001096/0.005463, allocations: 224.4 kB / 0.8206 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.333e-05/0.005516, allocations: 11.62 kB / 0.8206 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.005518, allocations: 0 / 0.8206 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.00552, allocations: 4 kB / 0.8206 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.00583, allocations: 0.7054 MB / 0.8213 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.006049, allocations: 253.9 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.006085, allocations: 63.33 kB / 0.8216 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.006104, allocations: 5.688 kB / 0.8216 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.006141, allocations: 66.2 kB / 0.8217 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.006141, allocations: 0 / 0.8217 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.001754/0.007895, allocations: 339.1 kB / 0.822 GB, free: 6.816 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: 4.953147934284061]