Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.0009914/0.0009914, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001068/0.001068, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.043/1.043, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.976/1.976, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.8129 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.574e-05, allocations: 5.844 kB / 0.8129 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002191/0.002227, allocations: 0.7478 MB / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000251/0.002478, allocations: 55.81 kB / 0.8136 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.002534, allocations: 7.938 kB / 0.8137 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.00269, allocations: 11.86 kB / 0.8137 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.002749, allocations: 13.42 kB / 0.8137 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.002914, allocations: 25.06 kB / 0.8137 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.003107, allocations: 123.7 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.0033, allocations: 86.31 kB / 0.8139 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003408, allocations: 99.78 kB / 0.814 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.003497, allocations: 63.88 kB / 0.8141 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.003528, allocations: 12.84 kB / 0.8141 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.003552, allocations: 12 kB / 0.8141 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.003624, allocations: 52.78 kB / 0.8141 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.003689, allocations: 51.84 kB / 0.8142 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.003865, allocations: 171.3 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003867, allocations: 0.5625 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003868, allocations: 4.594 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003873, allocations: 0 / 0.8143 GB, free: 15.87 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003973/0.00427, allocations: 0.5246 MB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.004301, allocations: 11.97 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.004351, allocations: 44.78 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.004714, allocations: 182.6 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.004728, allocations: 12.75 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.004751, allocations: 16.38 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.004952, allocations: 194.1 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.004965, allocations: 8.188 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.004979, allocations: 8.375 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.005006, allocations: 20.67 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.005086, allocations: 73.58 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.005689, allocations: 1.003 MB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.005781, allocations: 265.4 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.005812, allocations: 126.9 kB / 0.8168 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.00584, allocations: 123.2 kB / 0.8169 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.005883, allocations: 161.8 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.005884, allocations: 0 / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.856e-05/0.005943, allocations: 37.59 kB / 0.8171 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.005998, allocations: 175.9 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.006148, allocations: 275.2 kB / 0.8175 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.006154, allocations: 25.7 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.006255, allocations: 242.6 kB / 0.8178 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.006257, allocations: 1.25 kB / 0.8178 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.006296, allocations: 31.36 kB / 0.8178 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.006413, allocations: 0.5078 MB / 0.8183 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.00643, allocations: 8.516 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.00647, allocations: 62.34 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.903e-05/0.006539, allocations: 91.92 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006541, allocations: 5.375 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001388/0.00668, allocations: 90.56 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.006695, allocations: 7.984 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006701, allocations: 4.75 kB / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.00671, allocations: 0 / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.006779, allocations: 24.55 kB / 0.8186 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.006783, allocations: 4 kB / 0.8186 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.006827, allocations: 12.69 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.006838, allocations: 11.94 kB / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.979e-05/0.006928, allocations: 281 kB / 0.8189 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.006982, allocations: 164.7 kB / 0.819 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.007028, allocations: 154.3 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/0.007081, allocations: 268.1 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.369e-05/0.007135, allocations: 276 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/0.007187, allocations: 264.9 kB / 0.8199 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.00739, allocations: 0.5394 MB / 0.8205 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/0.007421, allocations: 154.1 kB / 0.8206 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.00745, allocations: 144.9 kB / 0.8207 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.484e-05/0.007505, allocations: 268 kB / 0.821 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/0.007561, allocations: 268.7 kB / 0.8213 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.366e-05/0.007624, allocations: 268 kB / 0.8215 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-05/0.007681, allocations: 264.9 kB / 0.8218 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.007809, allocations: 463.8 kB / 0.8222 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.008075, allocations: 162.4 kB / 0.8224 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.00814, allocations: 268 kB / 0.8226 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.008208, allocations: 156.9 kB / 0.8228 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.008276, allocations: 272 kB / 0.823 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.008308, allocations: 145.9 kB / 0.8232 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.102e-05/0.008389, allocations: 183.9 kB / 0.8233 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008389, allocations: 0 / 0.8233 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001948/0.008584, allocations: 43.2 kB / 0.8234 GB, free: 6.176 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.0001101/0.008694, allocations: 210.4 kB / 0.8236 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.434e-05/0.008769, allocations: 35.61 kB / 0.8236 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00877, allocations: 0 / 0.8236 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.008772, allocations: 3.938 kB / 0.8236 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.009131, allocations: 0.734 MB / 0.8243 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.009481, allocations: 453.2 kB / 0.8248 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.009529, allocations: 99.22 kB / 0.8249 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.288e-05/0.009562, allocations: 8.5 kB / 0.8249 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.009619, allocations: 82.19 kB / 0.825 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.00962, allocations: 4 kB / 0.825 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of Templates: time 0.002729/0.01235, allocations: 1.06 MB / 0.826 GB, free: 3.48 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.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.282464059069753]