Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001387/0.001387, allocations: 105.8 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.001619/0.001619, allocations: 189.8 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.509/1.509, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.436/3.436, allocations: 495.8 MB / 0.783 GB, free: 33.57 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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.39 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4181, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002227/0.4204, allocations: 0.7952 MB / 1.308 GB, free: 0.9688 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001122/0.4215, allocations: 0.8312 MB / 1.308 GB, free: 128 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.4215, allocations: 4 kB / 1.308 GB, free: 124 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.4217, allocations: 55.8 kB / 1.308 GB, free: 68 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.4218, allocations: 35.83 kB / 1.308 GB, free: 32 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 7.988e-05/0.4219, allocations: 23.97 kB / 1.308 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001818/0.4221, allocations: 83.75 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.4222, allocations: 19.98 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.4223, allocations: 43.83 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.4225, allocations: 87.72 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.4225, allocations: 8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.4225, allocations: 8 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.4226, allocations: 39.91 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.4227, allocations: 51.7 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.4228, allocations: 115.5 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4228, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.4228, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.683e-06/0.4228, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0009283/0.4238, allocations: 393.7 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4238, allocations: 8.031 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4239, allocations: 8.891 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.4241, allocations: 150.3 kB / 1.309 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4241, allocations: 8.375 kB / 1.309 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.4241, allocations: 4.375 kB / 1.309 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.4246, allocations: 151.8 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4246, allocations: 192 / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4247, allocations: 7.922 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4247, allocations: 4 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.4253, allocations: 167.8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/0.4262, allocations: 483.9 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.4266, allocations: 161.1 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.4269, allocations: 93.73 kB / 1.31 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4269, allocations: 3.938 kB / 1.31 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.427, allocations: 34.56 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.427, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.001025/0.428, allocations: 293.3 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.4281, allocations: 85.05 kB / 1.311 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.4283, allocations: 163.5 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4283, allocations: 29.7 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.4284, allocations: 100.1 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.4284, allocations: 35.72 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.4285, allocations: 21.72 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000171/0.4286, allocations: 326.8 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.4289, allocations: 79.92 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.4292, allocations: 85.64 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.4298, allocations: 173.6 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4298, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006203/0.4304, allocations: 209.4 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4304, allocations: 9.875 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4304, allocations: 4 kB / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4304, allocations: 0 / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.4307, allocations: 35.95 kB / 1.312 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4307, allocations: 0 / 1.312 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4308, allocations: 27.91 kB / 1.312 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4308, allocations: 7.938 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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.000128/0.431, allocations: 137.7 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.431, allocations: 7.953 kB / 1.312 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.4311, allocations: 24.33 kB / 1.312 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4311, allocations: 0 / 1.312 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4311, allocations: 4 kB / 1.312 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4311, allocations: 4 kB / 1.312 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.4314, allocations: 200.5 kB / 1.312 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4314, allocations: 0 / 1.312 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.4316, allocations: 35.95 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4316, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4316, allocations: 0 / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4316, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4316, allocations: 0 / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.4323, allocations: 382.5 kB / 1.313 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.4324, allocations: 16.38 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.4324, allocations: 7.984 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.4326, allocations: 23.97 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.4327, allocations: 7.984 kB / 1.313 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4327, allocations: 4 kB / 1.313 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001091/0.4328, allocations: 127.1 kB / 1.313 GB, free: 11 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4328, allocations: 4 kB / 1.313 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002819/0.4331, allocations: 23.98 kB / 1.313 GB, free: 10.97 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (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 Backend phase and start with SimCode phase: time 0.000139/0.4332, allocations: 97.88 kB / 1.313 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0006195/0.4338, allocations: 175.7 kB / 1.313 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4338, allocations: 0 / 1.313 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.4341, allocations: 91.86 kB / 1.313 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4345, allocations: 14.56 kB / 1.313 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.4351, allocations: 263 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.4355, allocations: 0.708 MB / 1.314 GB, free: 9.57 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.559e-05/0.4356, allocations: 27.95 kB / 1.314 GB, free: 9.543 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.4356, allocations: 11.44 kB / 1.314 GB, free: 9.531 MB / 1.014 GB
Notification: Performance of SimCode: time 4.21e-07/0.4356, allocations: 0 / 1.314 GB, free: 9.531 MB / 1.014 GB
Notification: Performance of Templates: time 0.004136/0.4398, allocations: 1.247 MB / 1.316 GB, free: 8.293 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.61527999676764]