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.001532/0.001532, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001993/0.001993, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.945/2.945, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0.5469 kB / 0.8109 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.131e-05/4.443e-05, allocations: 3.125 kB / 0.8109 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002395/0.002439, allocations: 0.7304 MB / 0.8116 GB, free: 152 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000318/0.002757, allocations: 52.77 kB / 0.8116 GB, free: 100 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.002818, allocations: 3.938 kB / 0.8116 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.003012, allocations: 23.8 kB / 0.8117 GB, free: 72 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.003069, allocations: 9.109 kB / 0.8117 GB, free: 64 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.003249, allocations: 30.39 kB / 0.8117 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.003518, allocations: 124.5 kB / 0.8118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.003749, allocations: 88.83 kB / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.003887, allocations: 88.36 kB / 0.812 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.004009, allocations: 75.75 kB / 0.8121 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.004048, allocations: 12.91 kB / 0.8121 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.078e-05/0.004079, allocations: 12 kB / 0.8121 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.004171, allocations: 53.69 kB / 0.8121 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.004269, allocations: 55.77 kB / 0.8122 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.004612, allocations: 231.2 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004616, allocations: 0 / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004617, allocations: 0 / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.004625, allocations: 1.062 kB / 0.8124 GB, free: 15.3 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.000713/0.005338, allocations: 429.6 kB / 0.8128 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.005396, allocations: 13.27 kB / 0.8128 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.005503, allocations: 36.8 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.005848, allocations: 197.4 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.005877, allocations: 16.73 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.005912, allocations: 17.88 kB / 0.8131 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.006684, allocations: 337.6 kB / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.006697, allocations: 192 / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.006725, allocations: 8.375 kB / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.006771, allocations: 21.2 kB / 0.8134 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.007185, allocations: 263.7 kB / 0.8137 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.008591, allocations: 0.9216 MB / 0.8146 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.008717, allocations: 169.7 kB / 0.8148 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.008772, allocations: 81.55 kB / 0.8148 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.008813, allocations: 75.28 kB / 0.8149 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.963e-05/0.008893, allocations: 117.8 kB / 0.815 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.008894, allocations: 0 / 0.815 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001159/0.00901, allocations: 42.23 kB / 0.8151 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.009102, allocations: 130.7 kB / 0.8152 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.009463, allocations: 265.1 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.009483, allocations: 25.7 kB / 0.8155 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.009651, allocations: 188.6 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.009654, allocations: 0 / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.009722, allocations: 34.53 kB / 0.8157 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.009913, allocations: 326.8 kB / 0.816 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.009995, allocations: 45.22 kB / 0.816 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.01012, allocations: 93.97 kB / 0.8161 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.0103, allocations: 107.7 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.0103, allocations: 1.094 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003622/0.01066, allocations: 175.2 kB / 0.8164 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01068, allocations: 4 kB / 0.8164 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.01069, allocations: 4.156 kB / 0.8164 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.01071, allocations: 5.516 kB / 0.8164 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01082, allocations: 16 kB / 0.8164 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.01084, allocations: 11.97 kB / 0.8164 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.01093, allocations: 27.83 kB / 0.8165 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.01095, allocations: 8.969 kB / 0.8165 GB, free: 10.94 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.0002263/0.01117, allocations: 249 kB / 0.8167 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.01128, allocations: 121.7 kB / 0.8168 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.938e-05/0.01136, allocations: 113.5 kB / 0.8169 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/0.01146, allocations: 189 kB / 0.8171 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.01156, allocations: 180.2 kB / 0.8173 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/0.01166, allocations: 185.9 kB / 0.8175 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.01202, allocations: 424.8 kB / 0.8179 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-05/0.01208, allocations: 101 kB / 0.818 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.01215, allocations: 109.1 kB / 0.8181 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.01226, allocations: 184.3 kB / 0.8182 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.01236, allocations: 188.9 kB / 0.8184 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-05/0.01246, allocations: 180.9 kB / 0.8186 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.694e-05/0.01256, allocations: 180.3 kB / 0.8188 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.0128, allocations: 320.2 kB / 0.8191 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.01288, allocations: 114 kB / 0.8192 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.01301, allocations: 176.3 kB / 0.8193 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.01315, allocations: 117 kB / 0.8195 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.01325, allocations: 180.2 kB / 0.8196 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.0133, allocations: 101.5 kB / 0.8197 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002189/0.01352, allocations: 197.5 kB / 0.8199 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01352, allocations: 0 / 0.8199 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000298/0.01382, allocations: 39.78 kB / 0.82 GB, free: 7.191 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.0001963/0.01402, allocations: 175.6 kB / 0.8201 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.01421, allocations: 72.77 kB / 0.8202 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01421, allocations: 0.8125 kB / 0.8202 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.01421, allocations: 0 / 0.8202 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.01506, allocations: 482.9 kB / 0.8206 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.01581, allocations: 437.3 kB / 0.8211 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.01602, allocations: 169.7 kB / 0.8212 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.226e-05/0.01609, allocations: 26.47 kB / 0.8213 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.01613, allocations: 12.5 kB / 0.8213 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.01613, allocations: 4 kB / 0.8213 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of Templates: time 0.004301/0.02043, allocations: 1.003 MB / 0.8222 GB, free: 4.844 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.84974166599568]