Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001297/0.001297, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00161/0.00161, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.29/3.29, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [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.00223/0.00223, allocations: 80.42 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.345, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002027/0.347, allocations: 0.7449 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.3472, allocations: 52.3 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.3473, allocations: 7.938 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3474, allocations: 19.8 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.3475, allocations: 11.92 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3476, allocations: 27.91 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3478, allocations: 119.7 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.348, allocations: 88.83 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.3481, allocations: 75.72 kB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3482, allocations: 75.7 kB / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3483, allocations: 8 kB / 1.366 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.3483, allocations: 16 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.3484, allocations: 55.8 kB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.3485, allocations: 75.52 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3487, allocations: 242.9 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3487, allocations: 0 / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3487, allocations: 0 / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3487, allocations: 4 kB / 1.366 GB, free: 11.98 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005848/0.3493, allocations: 431 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3494, allocations: 8.031 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.3494, allocations: 28.73 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3498, allocations: 206.6 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3498, allocations: 8.75 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3498, allocations: 20.38 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.3503, allocations: 337.1 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3503, allocations: 7.938 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3504, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.3504, allocations: 23.98 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.3508, allocations: 259.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.352, allocations: 0.9215 MB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.3521, allocations: 173.1 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.3521, allocations: 80.14 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3522, allocations: 75.28 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.3522, allocations: 109.8 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3522, allocations: 0 / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.141e-05/0.3523, allocations: 41.72 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.3524, allocations: 130.7 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3527, allocations: 270.5 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3527, allocations: 29.7 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3529, allocations: 187.9 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.3529, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.3529, allocations: 29.67 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3531, allocations: 330.8 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.3532, allocations: 47.97 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3533, allocations: 94.83 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3534, allocations: 122.7 kB / 1.37 GB, free: 7.832 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3534, allocations: 3.938 kB / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003111/0.3537, allocations: 177.4 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3538, allocations: 12.19 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3538, allocations: 4 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3538, allocations: 7.938 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.3539, allocations: 19.98 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3539, allocations: 0 / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.354, allocations: 19.89 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.354, allocations: 15.98 kB / 1.37 GB, free: 7.57 MB / 1.061 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.0001843/0.3542, allocations: 245 kB / 1.371 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.3543, allocations: 120.9 kB / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.3543, allocations: 125.3 kB / 1.371 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.684e-05/0.3544, allocations: 184.3 kB / 1.371 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.497e-05/0.3545, allocations: 180.3 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/0.3546, allocations: 180.2 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.3549, allocations: 432.8 kB / 1.372 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.355, allocations: 104.9 kB / 1.372 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.355, allocations: 102 kB / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.494e-05/0.3551, allocations: 184.3 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/0.3552, allocations: 180.2 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.495e-05/0.3553, allocations: 184.2 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.949e-05/0.3554, allocations: 188.2 kB / 1.373 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3555, allocations: 307.8 kB / 1.373 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.3556, allocations: 120.8 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.3557, allocations: 180.5 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3558, allocations: 112.9 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.3559, allocations: 184.3 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.356, allocations: 105 kB / 1.374 GB, free: 4.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002/0.3562, allocations: 196.2 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3562, allocations: 3.938 kB / 1.374 GB, free: 3.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002873/0.3565, allocations: 39.83 kB / 1.374 GB, free: 3.801 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.000152/0.3566, allocations: 170.5 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.3568, allocations: 67.89 kB / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3568, allocations: 0 / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.3568, allocations: 0 / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.3573, allocations: 481.3 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.3579, allocations: 468.6 kB / 1.375 GB, free: 2.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3581, allocations: 172 kB / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.3582, allocations: 23.31 kB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3582, allocations: 0 / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of Templates: time 0.003977/0.3621, allocations: 2.078 MB / 1.377 GB, free: 312 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.355715936049819]