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.001144/0.001144, allocations: 81.95 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.001233/0.001233, allocations: 185.3 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.861/1.861, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.034e-06/2.034e-06, allocations: 0 / 0.8121 GB, free: 232 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.633e-05, allocations: 2.312 kB / 0.8121 GB, free: 228 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001234/0.00125, allocations: 0.7514 MB / 0.8128 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002105/0.001461, allocations: 56.66 kB / 0.8129 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.001509, allocations: 7.938 kB / 0.8129 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.00164, allocations: 21.33 kB / 0.8129 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.001686, allocations: 9.047 kB / 0.8129 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.001814, allocations: 29.47 kB / 0.8129 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.001955, allocations: 127.6 kB / 0.813 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.002111, allocations: 88.89 kB / 0.8131 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.002192, allocations: 91.86 kB / 0.8132 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.002259, allocations: 67.81 kB / 0.8133 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.002287, allocations: 12 kB / 0.8133 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.002306, allocations: 12 kB / 0.8133 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.002363, allocations: 57.48 kB / 0.8134 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.002408, allocations: 51.78 kB / 0.8134 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.002561, allocations: 163.4 kB / 0.8136 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.002563, allocations: 4 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.32e-07/0.002564, allocations: 1.594 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002568, allocations: 0 / 0.8136 GB, free: 14.71 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.0003806/0.002948, allocations: 0.535 MB / 0.8141 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.002983, allocations: 12.03 kB / 0.8141 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.003026, allocations: 37.7 kB / 0.8141 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.003166, allocations: 176.2 kB / 0.8143 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.003178, allocations: 13.66 kB / 0.8143 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.003194, allocations: 16.38 kB / 0.8143 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.003393, allocations: 206.1 kB / 0.8145 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003402, allocations: 0.8438 kB / 0.8145 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.003414, allocations: 5.562 kB / 0.8145 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.003441, allocations: 20.11 kB / 0.8146 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.003516, allocations: 71.89 kB / 0.8146 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.004118, allocations: 1.014 MB / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.004192, allocations: 269.4 kB / 0.8159 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.004225, allocations: 130.9 kB / 0.816 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.004249, allocations: 120.6 kB / 0.8161 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.004288, allocations: 152.6 kB / 0.8163 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.004289, allocations: 0 / 0.8163 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.479e-05/0.004344, allocations: 45.55 kB / 0.8163 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.004389, allocations: 172.3 kB / 0.8165 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.004533, allocations: 275.2 kB / 0.8167 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.004541, allocations: 25.7 kB / 0.8168 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.004637, allocations: 242.7 kB / 0.817 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.004638, allocations: 0 / 0.817 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.004675, allocations: 40.62 kB / 0.817 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.004799, allocations: 0.5039 MB / 0.8175 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.004812, allocations: 0 / 0.8175 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.004855, allocations: 79.69 kB / 0.8176 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.004921, allocations: 80.17 kB / 0.8177 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004923, allocations: 0 / 0.8177 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001264/0.005049, allocations: 86.22 kB / 0.8177 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.00506, allocations: 4.531 kB / 0.8178 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005064, allocations: 4 kB / 0.8178 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005075, allocations: 1.656 kB / 0.8178 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.005134, allocations: 23.92 kB / 0.8178 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.005138, allocations: 4 kB / 0.8178 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.005181, allocations: 19.94 kB / 0.8178 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.005192, allocations: 13.09 kB / 0.8178 GB, free: 10.1 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 9.58e-05/0.005288, allocations: 283.8 kB / 0.8181 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.005341, allocations: 160.7 kB / 0.8182 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.005398, allocations: 162 kB / 0.8184 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/0.00545, allocations: 272.8 kB / 0.8187 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/0.005507, allocations: 264.1 kB / 0.8189 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/0.005565, allocations: 264.9 kB / 0.8192 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.005773, allocations: 0.5433 MB / 0.8197 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.005805, allocations: 146.7 kB / 0.8198 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.005837, allocations: 148.8 kB / 0.82 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.573e-05/0.005892, allocations: 268.1 kB / 0.8202 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.005948, allocations: 264.1 kB / 0.8205 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.159e-05/0.00601, allocations: 279.9 kB / 0.8207 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.863e-05/0.006068, allocations: 272.9 kB / 0.821 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.006193, allocations: 451.9 kB / 0.8214 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.006239, allocations: 167.1 kB / 0.8216 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.006302, allocations: 264.1 kB / 0.8218 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.006364, allocations: 148.9 kB / 0.822 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.006426, allocations: 276 kB / 0.8223 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.006461, allocations: 148.9 kB / 0.8224 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.006535, allocations: 184.1 kB / 0.8226 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006536, allocations: 0 / 0.8226 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001755/0.006711, allocations: 41.83 kB / 0.8226 GB, free: 5.004 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 9.133e-05/0.006802, allocations: 214.4 kB / 0.8228 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.006872, allocations: 29.36 kB / 0.8228 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006873, allocations: 3.938 kB / 0.8228 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.006874, allocations: 0 / 0.8228 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.007233, allocations: 0.7323 MB / 0.8236 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.007576, allocations: 447.1 kB / 0.824 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.007628, allocations: 97.02 kB / 0.8241 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.007655, allocations: 8.484 kB / 0.8241 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.007712, allocations: 90.19 kB / 0.8242 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/0.007713, allocations: 0 / 0.8242 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of Templates: time 0.002548/0.01026, allocations: 1.047 MB / 0.8252 GB, free: 2.324 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.006072083022445]