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.0014/0.0014, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001506/0.001506, allocations: 169 kB / 24.28 MB, free: 284 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.9587/0.9587, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.957/1.957, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.124e-06/2.124e-06, allocations: 0 / 0.8116 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.783e-05, allocations: 3 kB / 0.8116 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001925/0.001953, allocations: 0.7516 MB / 0.8123 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.002209, allocations: 55.77 kB / 0.8124 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.002273, allocations: 7.938 kB / 0.8124 GB, free: 52 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.002442, allocations: 22.27 kB / 0.8124 GB, free: 32 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.002494, allocations: 7.984 kB / 0.8124 GB, free: 24 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.002681, allocations: 33.52 kB / 0.8125 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.002897, allocations: 123.6 kB / 0.8126 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.003111, allocations: 86.12 kB / 0.8127 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003219, allocations: 91.86 kB / 0.8127 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.003307, allocations: 67.81 kB / 0.8128 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.003348, allocations: 13.38 kB / 0.8128 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.003374, allocations: 12 kB / 0.8128 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.003449, allocations: 51.84 kB / 0.8129 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.003521, allocations: 59.77 kB / 0.8129 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.003733, allocations: 164 kB / 0.8131 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.003735, allocations: 0.9062 kB / 0.8131 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003736, allocations: 4 kB / 0.8131 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.00374, allocations: 0 / 0.8131 GB, free: 15.33 MB / 0.7292 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.0005611/0.004301, allocations: 0.5315 MB / 0.8136 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.004347, allocations: 16.64 kB / 0.8136 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.004428, allocations: 32.8 kB / 0.8137 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.004669, allocations: 185.5 kB / 0.8138 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.00469, allocations: 16.73 kB / 0.8139 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.004718, allocations: 16.38 kB / 0.8139 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.005079, allocations: 232.3 kB / 0.8141 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.00509, allocations: 192 / 0.8141 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.005113, allocations: 8.375 kB / 0.8141 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.005151, allocations: 20.11 kB / 0.8141 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.005362, allocations: 135.9 kB / 0.8143 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.006331, allocations: 1.09 MB / 0.8153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.006433, allocations: 266.2 kB / 0.8156 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.006477, allocations: 126.9 kB / 0.8157 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.006515, allocations: 124.2 kB / 0.8158 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.006571, allocations: 156.6 kB / 0.816 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.006572, allocations: 0 / 0.816 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.962e-05/0.006652, allocations: 42.2 kB / 0.816 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.006719, allocations: 175.1 kB / 0.8162 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.006962, allocations: 287.6 kB / 0.8164 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.006974, allocations: 26.52 kB / 0.8165 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.007105, allocations: 230.8 kB / 0.8167 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.007108, allocations: 0.875 kB / 0.8167 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.007161, allocations: 35.31 kB / 0.8167 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.007322, allocations: 0.5006 MB / 0.8172 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.007354, allocations: 7.984 kB / 0.8172 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.007419, allocations: 75.17 kB / 0.8173 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.007519, allocations: 83.67 kB / 0.8174 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007521, allocations: 0 / 0.8174 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002117/0.007733, allocations: 87.69 kB / 0.8175 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.00775, allocations: 8 kB / 0.8175 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007755, allocations: 1.531 kB / 0.8175 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007768, allocations: 4 kB / 0.8175 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.007861, allocations: 23.92 kB / 0.8175 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.007867, allocations: 0 / 0.8175 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.007949, allocations: 39.28 kB / 0.8175 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.007964, allocations: 4 kB / 0.8175 GB, free: 10.52 MB / 0.7292 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.00012/0.008084, allocations: 275.8 kB / 0.8178 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.008164, allocations: 164.7 kB / 0.818 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.00823, allocations: 161.4 kB / 0.8181 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.798e-05/0.008308, allocations: 268.1 kB / 0.8184 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.817e-05/0.008386, allocations: 268 kB / 0.8186 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.007e-05/0.008466, allocations: 276 kB / 0.8189 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.008806, allocations: 0.5936 MB / 0.8195 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.008851, allocations: 145.5 kB / 0.8196 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.008897, allocations: 154.6 kB / 0.8197 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.00898, allocations: 272 kB / 0.82 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.009064, allocations: 264.1 kB / 0.8203 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.697e-05/0.009161, allocations: 272 kB / 0.8205 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.991e-05/0.009251, allocations: 268.1 kB / 0.8208 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.009444, allocations: 457 kB / 0.8212 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.009505, allocations: 156.8 kB / 0.8214 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.009612, allocations: 268 kB / 0.8216 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.009722, allocations: 154.3 kB / 0.8218 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.009807, allocations: 272 kB / 0.822 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.009858, allocations: 144.9 kB / 0.8222 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001484/0.01001, allocations: 191.1 kB / 0.8223 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01001, allocations: 0.5312 kB / 0.8223 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003163/0.01032, allocations: 44.28 kB / 0.8224 GB, free: 5.359 MB / 0.7292 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.0001387/0.01046, allocations: 219.3 kB / 0.8226 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01058, allocations: 28.61 kB / 0.8226 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01058, allocations: 1.344 kB / 0.8226 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.01058, allocations: 3.938 kB / 0.8226 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.01113, allocations: 0.7301 MB / 0.8233 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.01164, allocations: 443.1 kB / 0.8238 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.01172, allocations: 99.94 kB / 0.8239 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.01177, allocations: 22.25 kB / 0.8239 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.0118, allocations: 12.5 kB / 0.8239 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.0118, allocations: 0 / 0.8239 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.003511/0.01532, allocations: 0.978 MB / 0.8248 GB, free: 2.82 MB / 0.7292 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.280924007995054]