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.0009689/0.0009689, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001479/0.001479, 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.9562/0.9562, allocations: 177.2 MB / 204.2 MB, free: 5.609 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.895/1.895, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.833e-06/1.833e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.139e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001734/0.001765, allocations: 0.7535 MB / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.001934, allocations: 51.83 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.001971, allocations: 10.34 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.521e-05/0.002067, allocations: 19.8 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/0.002104, allocations: 7.984 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.002224, allocations: 28.94 kB / 0.8125 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.00236, allocations: 127.6 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.002502, allocations: 81.81 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.002582, allocations: 99.78 kB / 0.8128 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.002652, allocations: 65.22 kB / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.002679, allocations: 12 kB / 0.8128 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.002697, allocations: 15.94 kB / 0.8129 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.002752, allocations: 59.78 kB / 0.8129 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.002796, allocations: 49.78 kB / 0.813 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.002943, allocations: 163.4 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002945, allocations: 4 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of FrontEnd: time 2.114e-06/0.002948, allocations: 3.984 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002951, allocations: 1.688 kB / 0.8131 GB, free: 140 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.0004011/0.003352, allocations: 0.5236 MB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.003385, allocations: 12.03 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.003433, allocations: 36.8 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.003604, allocations: 188.2 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003617, allocations: 13.66 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.003637, allocations: 20.38 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.003908, allocations: 234.6 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.003916, allocations: 0.8125 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.003932, allocations: 8.375 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.003963, allocations: 24.62 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.00411, allocations: 131.9 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.004817, allocations: 1.088 MB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.0049, allocations: 261.4 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.00494, allocations: 130.9 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.00497, allocations: 119.7 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.005015, allocations: 158 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.005016, allocations: 0 / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.143e-05/0.005068, allocations: 41.59 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.005118, allocations: 170.6 kB / 0.8162 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.005279, allocations: 282.8 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.005288, allocations: 25.7 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.005384, allocations: 238.7 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.005386, allocations: 1.094 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.005426, allocations: 31.36 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.005553, allocations: 0.5001 MB / 0.8172 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.005572, allocations: 8.828 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.005617, allocations: 69.81 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.005691, allocations: 88.69 kB / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005692, allocations: 0 / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001347/0.005827, allocations: 95.98 kB / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.005837, allocations: 4 kB / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005841, allocations: 3.938 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.005851, allocations: 5.531 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.005908, allocations: 19.98 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.005912, allocations: 160 / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.005958, allocations: 23.94 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.005972, allocations: 14.8 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 9.1e-05/0.006063, allocations: 275.7 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.006112, allocations: 160.8 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.00616, allocations: 161.4 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-05/0.006234, allocations: 272 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.268e-05/0.006296, allocations: 268.1 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.588e-05/0.006362, allocations: 276 kB / 0.8189 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.006598, allocations: 0.5902 MB / 0.8195 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/0.006632, allocations: 144.9 kB / 0.8196 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.006669, allocations: 153.4 kB / 0.8198 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.036e-05/0.00673, allocations: 269.4 kB / 0.82 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.006789, allocations: 268 kB / 0.8203 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.334e-05/0.006852, allocations: 272.1 kB / 0.8205 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.527e-05/0.006918, allocations: 273 kB / 0.8208 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.007052, allocations: 455.9 kB / 0.8212 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.007094, allocations: 160.7 kB / 0.8214 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.007167, allocations: 268.7 kB / 0.8216 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.007232, allocations: 152.9 kB / 0.8218 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.007298, allocations: 268.7 kB / 0.822 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.007335, allocations: 147.7 kB / 0.8222 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001055/0.007441, allocations: 194.3 kB / 0.8224 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007441, allocations: 0 / 0.8224 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001767/0.007618, 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.0001064/0.007724, allocations: 222.4 kB / 0.8226 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.007809, allocations: 34.27 kB / 0.8226 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00781, allocations: 0 / 0.8226 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.007811, allocations: 0 / 0.8226 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.0003629/0.008174, allocations: 0.7256 MB / 0.8233 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.008529, allocations: 443.3 kB / 0.8238 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.308e-05/0.008582, allocations: 100.2 kB / 0.8239 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.008616, allocations: 16.48 kB / 0.8239 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.008641, allocations: 16.48 kB / 0.8239 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.008642, allocations: 1.062 kB / 0.8239 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.002544/0.01119, allocations: 1.043 MB / 0.8249 GB, free: 3.566 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.0717073222622275]