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.0008671/0.0008671, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009996/0.0009996, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9959/0.9959, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.96/1.96, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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 1.05e-05/1.05e-05, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.524e-05/6.574e-05, allocations: 3.219 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.0027/0.002766, allocations: 0.7611 MB / 0.8123 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003282/0.003094, allocations: 51.83 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.003155, allocations: 4 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.003354, allocations: 15.8 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.003416, allocations: 21.25 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.003602, allocations: 25.5 kB / 0.8125 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.003842, allocations: 131.6 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.004085, allocations: 85.42 kB / 0.8127 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.00421, allocations: 96.52 kB / 0.8128 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.004306, allocations: 63.88 kB / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.004345, allocations: 12.53 kB / 0.8128 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.004368, allocations: 13.44 kB / 0.8128 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.004439, allocations: 55.77 kB / 0.8129 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.004496, allocations: 51.84 kB / 0.8129 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004662, allocations: 163.4 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.004664, allocations: 0.5312 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004666, allocations: 5.375 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.004672, allocations: 0 / 0.8131 GB, free: 148 kB / 0.7605 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.0005448/0.005216, allocations: 0.5234 MB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.005256, allocations: 19.95 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.005319, allocations: 37.95 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.005545, allocations: 192.1 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.005566, allocations: 16.75 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.005591, allocations: 17.75 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.00589, allocations: 222.2 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.005905, allocations: 192 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.005923, allocations: 12.38 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.005959, allocations: 25.42 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.006112, allocations: 131.1 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.006984, allocations: 1.09 MB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.007069, allocations: 269.9 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.007103, allocations: 126.9 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.007129, allocations: 124.5 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.007177, allocations: 152.6 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.007178, allocations: 0 / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.481e-05/0.007243, allocations: 34.84 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.007297, allocations: 174.6 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.007481, allocations: 281.7 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.007491, allocations: 31.52 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.007595, allocations: 238.7 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.0076, allocations: 0 / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.007645, allocations: 31.36 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002841/0.007929, allocations: 0.504 MB / 0.8172 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.007957, allocations: 10.45 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.008007, allocations: 73.8 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.00809, allocations: 78.83 kB / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008092, allocations: 0 / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001713/0.008263, allocations: 95.33 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.008281, allocations: 9.969 kB / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008287, allocations: 0 / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.008307, allocations: 4 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.008388, allocations: 19.98 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.008395, allocations: 3.938 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.008445, allocations: 23.92 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.008458, allocations: 8.562 kB / 0.8175 GB, free: 11.34 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 0.0001035/0.008561, allocations: 280.7 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.008624, allocations: 160.8 kB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.008686, allocations: 166.1 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/0.008753, allocations: 264.1 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-05/0.008818, allocations: 273.2 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.229e-05/0.00888, allocations: 268 kB / 0.8189 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.009122, allocations: 0.5936 MB / 0.8195 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.009156, allocations: 149.7 kB / 0.8196 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.009187, allocations: 144.9 kB / 0.8197 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.809e-05/0.009245, allocations: 272 kB / 0.82 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.009306, allocations: 271.2 kB / 0.8203 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-05/0.009371, allocations: 272 kB / 0.8205 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-05/0.00943, allocations: 268.1 kB / 0.8208 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.009563, allocations: 451.9 kB / 0.8212 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.009611, allocations: 164.8 kB / 0.8214 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.009688, allocations: 268 kB / 0.8216 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.009754, allocations: 148.9 kB / 0.8218 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.009814, allocations: 268.1 kB / 0.822 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.009848, allocations: 155.2 kB / 0.8222 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001019/0.00995, allocations: 198.3 kB / 0.8223 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00995, allocations: 0 / 0.8223 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002096/0.01016, allocations: 39.77 kB / 0.8224 GB, free: 6.18 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.0001394/0.0103, allocations: 214.4 kB / 0.8226 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.0104, allocations: 33.67 kB / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01041, allocations: 0 / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.01041, allocations: 0 / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.01084, allocations: 0.7269 MB / 0.8233 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01128, allocations: 447.2 kB / 0.8238 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.01134, allocations: 100.4 kB / 0.8239 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.01138, allocations: 20.47 kB / 0.8239 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.01141, allocations: 12.5 kB / 0.8239 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01141, allocations: 0.9688 kB / 0.8239 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of Templates: time 0.003146/0.01456, allocations: 0.99 MB / 0.8249 GB, free: 3.625 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.325080660171807]