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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 187.9 kB / 22.1 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.303/3.303, allocations: 495.8 MB / 0.783 GB, free: 33.66 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002076/0.002076, allocations: 71.67 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002115/0.3664, allocations: 0.7536 MB / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003038/0.3667, allocations: 60.17 kB / 1.308 GB, free: 0.9688 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.3668, allocations: 7.938 kB / 1.308 GB, free: 0.9609 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.3669, allocations: 19.8 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.367, allocations: 7.984 kB / 1.308 GB, free: 0.9336 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3671, allocations: 27.91 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3674, allocations: 115.7 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.3676, allocations: 92.83 kB / 1.308 GB, free: 0.6992 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.3677, allocations: 67.8 kB / 1.308 GB, free: 0.6328 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3678, allocations: 75.64 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.3678, allocations: 12 kB / 1.308 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.335e-05/0.3679, allocations: 12 kB / 1.308 GB, free: 0.5352 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.368, allocations: 59.77 kB / 1.308 GB, free: 488 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3681, allocations: 87.42 kB / 1.308 GB, free: 400 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.3684, allocations: 234.9 kB / 1.308 GB, free: 164 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3684, allocations: 8 kB / 1.308 GB, free: 156 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.3684, allocations: 0 / 1.308 GB, free: 156 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 1.174e-05/0.3684, allocations: 4 kB / 1.308 GB, free: 152 kB / 0.9981 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.0006209/0.369, allocations: 433.6 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.369, allocations: 11.97 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.3691, allocations: 24.8 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.3694, allocations: 206.1 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3694, allocations: 12.75 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.3695, allocations: 20.38 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.37, allocations: 349 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.37, allocations: 3.938 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3701, allocations: 11.98 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.3701, allocations: 8 kB / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.3705, allocations: 263.8 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3719, allocations: 1.065 MB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.372, allocations: 169.1 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.372, allocations: 84.14 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3721, allocations: 79.28 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.3721, allocations: 106 kB / 1.311 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3721, allocations: 4 kB / 1.311 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001075/0.3722, allocations: 57.45 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.3723, allocations: 134.6 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.3729, allocations: 0.4887 MB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3729, allocations: 25.7 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3731, allocations: 175.9 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.3731, allocations: 3.984 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.3732, allocations: 25.72 kB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001713/0.3733, allocations: 342.8 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.3734, allocations: 51.95 kB / 1.312 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3735, allocations: 98.83 kB / 1.312 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3737, allocations: 114.7 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3737, allocations: 0 / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003799/0.3741, allocations: 213.1 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3741, allocations: 7.938 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3741, allocations: 4 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3741, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3743, allocations: 23.98 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3743, allocations: 4 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.3744, allocations: 31.78 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3744, allocations: 4.25 kB / 1.313 GB, free: 11.3 MB / 1.014 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.0002163/0.3746, allocations: 257 kB / 1.313 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3747, allocations: 132.7 kB / 1.313 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.3748, allocations: 134.8 kB / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.058e-05/0.3749, allocations: 184.2 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-05/0.375, allocations: 176.3 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.473e-05/0.3751, allocations: 188.2 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.3755, allocations: 460.2 kB / 1.314 GB, free: 9.703 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.3755, allocations: 113 kB / 1.314 GB, free: 9.586 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.3756, allocations: 104.9 kB / 1.315 GB, free: 9.477 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.871e-05/0.3757, allocations: 180.2 kB / 1.315 GB, free: 9.293 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.3758, allocations: 184.2 kB / 1.315 GB, free: 9.105 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000108/0.3759, allocations: 184.2 kB / 1.315 GB, free: 8.918 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.611e-05/0.376, allocations: 184.2 kB / 1.315 GB, free: 8.73 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.3762, allocations: 319.7 kB / 1.316 GB, free: 8.395 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.3763, allocations: 148.8 kB / 1.316 GB, free: 8.242 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.3765, allocations: 184.5 kB / 1.316 GB, free: 8.055 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3766, allocations: 108.9 kB / 1.316 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3767, allocations: 180.3 kB / 1.316 GB, free: 7.758 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.3767, allocations: 105 kB / 1.316 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.00045/0.3772, allocations: 363 kB / 1.317 GB, free: 7.293 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3772, allocations: 0 / 1.317 GB, free: 7.293 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002934/0.3775, allocations: 28 kB / 1.317 GB, free: 7.266 MB / 1.014 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.0001858/0.3777, allocations: 179.3 kB / 1.317 GB, free: 7.082 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001864/0.3779, allocations: 67.88 kB / 1.317 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3779, allocations: 0 / 1.317 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.3779, allocations: 0 / 1.317 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.3786, allocations: 482.2 kB / 1.317 GB, free: 6.543 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.3793, allocations: 482.6 kB / 1.318 GB, free: 6.043 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.3798, allocations: 0.7827 MB / 1.319 GB, free: 5.234 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001134/0.3799, allocations: 57.61 kB / 1.319 GB, free: 5.18 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.38, allocations: 15.44 kB / 1.319 GB, free: 5.164 MB / 1.014 GB
Notification: Performance of SimCode: time 6.12e-07/0.38, allocations: 0 / 1.319 GB, free: 5.164 MB / 1.014 GB
Notification: Performance of Templates: time 0.005375/0.3854, allocations: 1.804 MB / 1.32 GB, free: 3.371 MB / 1.014 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=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400]
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: 9.67191259097308]