Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001817/0.001817, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002594/0.002594, allocations: 213.3 kB / 22.25 MB, free: 5.262 MB / 14.72 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.732/3.732, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 75.84 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4414, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002244/0.4437, allocations: 0.7372 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.4439, allocations: 52.23 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.444, allocations: 3.938 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.4442, allocations: 23.8 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.4442, allocations: 15.92 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.4444, allocations: 23.97 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.4446, allocations: 115.7 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.4449, allocations: 88.83 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.4449, allocations: 67.8 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4451, allocations: 79.62 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.4451, allocations: 12 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.4451, allocations: 16 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.4452, allocations: 55.8 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.4453, allocations: 71.59 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.4456, allocations: 238.9 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4456, allocations: 0 / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4456, allocations: 0 / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.4456, allocations: 0 / 1.365 GB, free: 11.94 MB / 1.061 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.0006297/0.4462, allocations: 437.6 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4463, allocations: 12.03 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.4463, allocations: 20.8 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.4467, allocations: 202.6 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4467, allocations: 16.75 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.4467, allocations: 24.31 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.4473, allocations: 333.1 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4473, allocations: 3.938 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.4473, allocations: 8 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.4473, allocations: 11.98 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.4477, allocations: 263.8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.4489, allocations: 0.9099 MB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.449, allocations: 169.1 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.449, allocations: 80.14 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.4491, allocations: 83.28 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.4491, allocations: 113.8 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4491, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.566e-05/0.4492, allocations: 41.73 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.4493, allocations: 134.6 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.4496, allocations: 266.4 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.4496, allocations: 25.7 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.4498, allocations: 179.9 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.4498, allocations: 4 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.4499, allocations: 33.66 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.45, allocations: 322.8 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.4501, allocations: 55.95 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.837e-05/0.4502, allocations: 89.98 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4504, allocations: 105.8 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4504, allocations: 4 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002858/0.4506, allocations: 173.4 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4507, allocations: 4 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4507, allocations: 4 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4507, allocations: 3.938 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4508, allocations: 19.98 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4508, allocations: 7.938 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.4509, allocations: 15.95 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.4509, allocations: 11.98 kB / 1.369 GB, free: 7.578 MB / 1.061 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.0001944/0.4511, allocations: 249.3 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.4512, allocations: 112.9 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.4513, allocations: 125.4 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.411e-05/0.4513, allocations: 184.2 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.127e-05/0.4514, allocations: 180.2 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.497e-05/0.4515, allocations: 180.3 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.4518, allocations: 428.8 kB / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-05/0.4519, allocations: 112.9 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.4519, allocations: 102 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-05/0.452, allocations: 188.1 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/0.4521, allocations: 184.2 kB / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.231e-05/0.4522, allocations: 180.3 kB / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-05/0.4522, allocations: 192.1 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4524, allocations: 307.7 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.4525, allocations: 112.9 kB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4526, allocations: 184.5 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4527, allocations: 105 kB / 1.372 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4528, allocations: 188.2 kB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.4529, allocations: 104.9 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002004/0.4531, allocations: 200.2 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4531, allocations: 0 / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002714/0.4533, allocations: 43.78 kB / 1.373 GB, free: 3.805 MB / 1.061 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.000176/0.4535, allocations: 166.5 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.4537, allocations: 67.89 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4537, allocations: 0 / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.4537, allocations: 0 / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.4543, allocations: 479.6 kB / 1.374 GB, free: 3.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.455, allocations: 443.4 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.4552, allocations: 167.5 kB / 1.374 GB, free: 2.449 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.974e-05/0.4553, allocations: 28.41 kB / 1.374 GB, free: 2.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.4554, allocations: 11.44 kB / 1.374 GB, free: 2.41 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.4554, allocations: 0 / 1.374 GB, free: 2.41 MB / 1.061 GB Notification: Performance of Templates: time 0.004457/0.4598, allocations: 1.122 MB / 1.375 GB, free: 1.309 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.004217103123665]