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.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.001395/0.001395, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001473/0.001473, allocations: 192.1 kB / 22.11 MB, free: 4.223 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.516/1.516, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.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 2.884/2.884, allocations: 495.8 MB / 0.783 GB, free: 12.26 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.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 0.002091/0.002091, allocations: 75.88 kB / 1.137 GB, free: 10.11 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.263/1.265, allocations: 173.6 MB / 1.307 GB, free: 0.9336 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002245/1.267, allocations: 0.7549 MB / 1.308 GB, free: 456 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003382/1.268, allocations: 52.28 kB / 1.308 GB, free: 424 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/1.268, allocations: 9.375 kB / 1.308 GB, free: 416 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001545/1.268, allocations: 14.61 kB / 1.308 GB, free: 408 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.152e-05/1.268, allocations: 20.09 kB / 1.308 GB, free: 396 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001771/1.268, allocations: 28.08 kB / 1.308 GB, free: 384 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0002182/1.268, allocations: 119.1 kB / 1.308 GB, free: 340 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/1.269, allocations: 87.23 kB / 1.308 GB, free: 304 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/1.269, allocations: 73.89 kB / 1.308 GB, free: 272 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.269, allocations: 77.39 kB / 1.308 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 3.593e-05/1.269, allocations: 11.09 kB / 1.308 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/1.269, allocations: 11.72 kB / 1.308 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 9.264e-05/1.269, allocations: 51.08 kB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001054/1.269, allocations: 84.5 kB / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.000331/1.269, allocations: 238.5 kB / 1.308 GB, free: 64 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.269, allocations: 0.875 kB / 1.308 GB, free: 64 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.873e-06/1.269, allocations: 0 / 1.308 GB, free: 64 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.155e-06/1.269, allocations: 0 / 1.308 GB, free: 64 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: 49
 * Number of variables: 49
Notification: Performance of Generate backend data structure: time 0.0006734/1.27, allocations: 440 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.27, allocations: 10.69 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/1.27, allocations: 23.58 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/1.271, allocations: 201.5 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/1.271, allocations: 16.52 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/1.271, allocations: 16.84 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/1.271, allocations: 335 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.271, allocations: 7.938 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/1.271, allocations: 6.469 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/1.271, allocations: 16.08 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/1.272, allocations: 264.2 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/1.273, allocations: 1.053 MB / 1.311 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.273, allocations: 171.3 kB / 1.311 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/1.273, allocations: 80.14 kB / 1.311 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/1.273, allocations: 75.28 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/1.273, allocations: 111.8 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.273, allocations: 0 / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001207/1.274, allocations: 61.16 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/1.274, allocations: 127.8 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/1.274, allocations: 0.5017 MB / 1.312 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.274, allocations: 25.7 kB / 1.312 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001589/1.275, allocations: 170.3 kB / 1.312 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/1.275, allocations: 1.219 kB / 1.312 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/1.275, allocations: 30.11 kB / 1.312 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001867/1.275, allocations: 336.2 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/1.275, allocations: 52.58 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/1.275, allocations: 91.36 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/1.275, allocations: 109.2 kB / 1.313 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.275, allocations: 3.938 kB / 1.313 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000362/1.276, allocations: 185.8 kB / 1.313 GB, free: 13 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.276, allocations: 9.031 kB / 1.313 GB, free: 13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.276, allocations: 6.188 kB / 1.313 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.276, allocations: 2.422 kB / 1.313 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.276, allocations: 22.86 kB / 1.313 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.276, allocations: 3 kB / 1.313 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/1.276, allocations: 35.95 kB / 1.313 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.276, allocations: 7.672 kB / 1.313 GB, free: 12.97 MB / 1.014 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.0002243/1.276, allocations: 248.7 kB / 1.313 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.276, allocations: 136.5 kB / 1.313 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.276, allocations: 139.9 kB / 1.313 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.607e-05/1.276, allocations: 178.6 kB / 1.313 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.83e-05/1.276, allocations: 185 kB / 1.314 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.689e-05/1.277, allocations: 182 kB / 1.314 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/1.277, allocations: 473.2 kB / 1.314 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.857e-05/1.277, allocations: 103.1 kB / 1.314 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/1.277, allocations: 101.7 kB / 1.314 GB, free: 11.31 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-05/1.277, allocations: 185.6 kB / 1.315 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.277, allocations: 182.4 kB / 1.315 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-05/1.277, allocations: 181 kB / 1.315 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.744e-05/1.277, allocations: 187.1 kB / 1.315 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/1.278, allocations: 323.3 kB / 1.315 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.278, allocations: 142 kB / 1.316 GB, free: 10.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/1.278, allocations: 186 kB / 1.316 GB, free: 9.938 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/1.278, allocations: 107.4 kB / 1.316 GB, free: 9.832 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/1.278, allocations: 189 kB / 1.316 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/1.278, allocations: 103.8 kB / 1.316 GB, free: 9.535 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.000417/1.279, allocations: 363 kB / 1.317 GB, free: 9.391 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/1.279, allocations: 0 / 1.317 GB, free: 9.391 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002618/1.279, allocations: 24.59 kB / 1.317 GB, free: 9.391 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.000177/1.279, allocations: 171.6 kB / 1.317 GB, free: 9.23 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001601/1.279, allocations: 66.41 kB / 1.317 GB, free: 9.215 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.279, allocations: 5.25 kB / 1.317 GB, free: 9.211 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.279, allocations: 0.6094 kB / 1.317 GB, free: 9.211 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/1.28, allocations: 487.6 kB / 1.317 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/1.281, allocations: 489.7 kB / 1.318 GB, free: 8.441 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/1.281, allocations: 0.7717 MB / 1.318 GB, free: 7.738 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001012/1.281, allocations: 48.08 kB / 1.319 GB, free: 7.738 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/1.281, allocations: 20.95 kB / 1.319 GB, free: 7.727 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/1.281, allocations: 0 / 1.319 GB, free: 7.727 MB / 1.014 GB
Notification: Performance of Templates: time 0.005167/1.286, allocations: 1.802 MB / 1.32 GB, free: 6.977 MB / 1.014 GB
"
[Timeout remaining time 299]
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: 9.695764172822237]