Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001885/0.001885, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002009/0.002009, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 3.169/3.169, allocations: 377.9 MB / 0.6232 GB, free: 8.508 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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8109 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.264e-05, allocations: 4.422 kB / 0.8109 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001998/0.002031, allocations: 0.7419 MB / 0.8116 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002787/0.00231, allocations: 55.81 kB / 0.8116 GB, free: 92 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.002367, allocations: 5.188 kB / 0.8117 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.002538, allocations: 22.27 kB / 0.8117 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.002595, allocations: 17.55 kB / 0.8117 GB, free: 52 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.002765, allocations: 25.09 kB / 0.8117 GB, free: 28 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.003013, allocations: 123.7 kB / 0.8118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.003246, allocations: 89.45 kB / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.003398, allocations: 91.8 kB / 0.812 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.003523, allocations: 73.22 kB / 0.8121 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.003569, allocations: 12 kB / 0.8121 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.003604, allocations: 12 kB / 0.8121 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.003703, allocations: 55.83 kB / 0.8122 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.00379, allocations: 48.53 kB / 0.8122 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.004097, allocations: 236.1 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004099, allocations: 0 / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004099, allocations: 0.6562 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.004105, allocations: 0 / 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007254/0.00483, allocations: 0.5434 MB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.004868, allocations: 8.031 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.907e-05/0.004957, allocations: 38.05 kB / 0.813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.00531, allocations: 196.2 kB / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.00533, allocations: 8.75 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.005366, allocations: 20.38 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.00587, allocations: 307.9 kB / 0.8135 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.005881, allocations: 192 / 0.8135 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.005906, allocations: 12.38 kB / 0.8135 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.00594, allocations: 12.12 kB / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.006277, allocations: 215.8 kB / 0.8137 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.007791, allocations: 1.169 MB / 0.8149 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.007968, allocations: 269.4 kB / 0.8151 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/0.008046, allocations: 130.8 kB / 0.8153 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.008113, allocations: 121 kB / 0.8154 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/0.008208, allocations: 152.6 kB / 0.8155 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.008209, allocations: 0 / 0.8155 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 9.49e-05/0.008303, allocations: 41.66 kB / 0.8156 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.008411, allocations: 172.1 kB / 0.8157 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.008789, allocations: 339.6 kB / 0.816 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.008806, allocations: 25.7 kB / 0.8161 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.009003, allocations: 238.8 kB / 0.8163 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.009006, allocations: 0.9688 kB / 0.8163 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.009076, allocations: 39.31 kB / 0.8163 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000306/0.009382, allocations: 0.5079 MB / 0.8168 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.009454, allocations: 44.7 kB / 0.8169 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.009594, allocations: 113.4 kB / 0.817 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.00978, allocations: 128.6 kB / 0.8171 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009782, allocations: 0 / 0.8171 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003192/0.0101, allocations: 163.8 kB / 0.8173 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.01013, allocations: 4 kB / 0.8173 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.01014, allocations: 4.688 kB / 0.8173 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01015, allocations: 1.219 kB / 0.8173 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.01026, allocations: 19.98 kB / 0.8173 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.01028, allocations: 11.92 kB / 0.8173 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.01035, allocations: 19.94 kB / 0.8173 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.01037, allocations: 5.062 kB / 0.8173 GB, free: 9.996 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0004841/0.01085, allocations: 319.6 kB / 0.8176 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.01097, allocations: 157.8 kB / 0.8178 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.01109, allocations: 165.4 kB / 0.8179 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/0.01122, allocations: 268.8 kB / 0.8182 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001367/0.01136, allocations: 264.1 kB / 0.8185 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001473/0.01151, allocations: 276 kB / 0.8187 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.012, allocations: 0.6023 MB / 0.8193 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.416e-05/0.0121, allocations: 152.9 kB / 0.8194 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.01219, allocations: 150.2 kB / 0.8196 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.01234, allocations: 268.1 kB / 0.8198 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.01249, allocations: 268 kB / 0.8201 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000135/0.01262, allocations: 268.1 kB / 0.8204 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001476/0.01277, allocations: 272.9 kB / 0.8206 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.01306, allocations: 451.9 kB / 0.821 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.01316, allocations: 166.8 kB / 0.8212 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.01332, allocations: 264.1 kB / 0.8215 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.01347, allocations: 152.8 kB / 0.8216 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.01362, allocations: 272.1 kB / 0.8219 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.0137, allocations: 148.8 kB / 0.822 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002307/0.01393, allocations: 231.7 kB / 0.8222 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01393, allocations: 0 / 0.8222 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003065/0.01424, allocations: 43.31 kB / 0.8223 GB, free: 4.746 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.0002054/0.01444, allocations: 214.4 kB / 0.8225 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01461, allocations: 67.58 kB / 0.8225 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01461, allocations: 0 / 0.8225 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.01462, allocations: 0 / 0.8225 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.01532, allocations: 0.7262 MB / 0.8232 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.01608, allocations: 463.7 kB / 0.8237 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.01625, allocations: 145.6 kB / 0.8238 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.01632, allocations: 29.11 kB / 0.8239 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.01636, allocations: 12.5 kB / 0.8239 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.01636, allocations: 5.625 kB / 0.8239 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of Templates: time 0.004423/0.02079, allocations: 0.9837 MB / 0.8248 GB, free: 2.105 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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: 8.178352984017693]