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.001941/0.001941, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002525/0.002525, allocations: 189.9 kB / 22.22 MB, free: 5.102 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.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.01 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.247/3.247, allocations: 496 MB / 0.7835 GB, free: 33.74 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.002149/0.002149, allocations: 63.02 kB / 1.138 GB, free: 33.63 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4851, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002353/0.4875, allocations: 0.7835 MB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001203/0.4887, allocations: 0.8352 MB / 1.309 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.4887, allocations: 3.938 kB / 1.309 GB, free: 144 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.489, allocations: 59.8 kB / 1.309 GB, free: 84 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.4891, allocations: 35.83 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 8.296e-05/0.4891, allocations: 19.97 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0002161/0.4894, allocations: 91.75 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.4895, allocations: 11.98 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.4897, allocations: 43.89 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.4899, allocations: 91.7 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.4899, allocations: 11.94 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.4899, allocations: 8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.49, allocations: 39.91 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.4901, allocations: 43.73 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.4903, allocations: 119.5 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4903, allocations: 3.938 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.114e-06/0.4903, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.421e-05/0.4903, allocations: 0 / 1.309 GB, free: 15.57 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.000899/0.4912, allocations: 393.7 kB / 1.31 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4912, allocations: 12.92 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.4913, allocations: 8.891 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.4915, allocations: 142.4 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4915, allocations: 8.312 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4915, allocations: 8.375 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.492, allocations: 151.8 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.492, allocations: 4.188 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.492, allocations: 7.938 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.492, allocations: 0 / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.4925, allocations: 167.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.4934, allocations: 487.9 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.4939, allocations: 161.1 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.4941, allocations: 93.72 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4941, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4942, allocations: 42.55 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.4942, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0008751/0.4951, allocations: 281.3 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.4951, allocations: 81.11 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4953, allocations: 167.7 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.4953, allocations: 25.7 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.4954, allocations: 100.1 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4954, allocations: 31.73 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.4955, allocations: 17.72 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001478/0.4956, allocations: 326.8 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.4959, allocations: 79.92 kB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4961, allocations: 97.58 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.4966, allocations: 169.6 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4966, allocations: 4 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005103/0.4971, allocations: 209.4 kB / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4971, allocations: 8 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4971, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4971, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4974, allocations: 35.95 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4974, allocations: 0 / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4975, allocations: 31.89 kB / 1.313 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4975, allocations: 0 / 1.313 GB, free: 12.06 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.0001332/0.4976, allocations: 137.7 kB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.4977, allocations: 15.89 kB / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.4977, allocations: 24.22 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4977, allocations: 4 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4977, allocations: 0 / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4977, allocations: 0 / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.4981, allocations: 204.5 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4981, allocations: 0 / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.4982, allocations: 35.95 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4982, allocations: 8.469 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4983, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4983, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4983, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.4989, allocations: 394.5 kB / 1.313 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.4989, allocations: 11.91 kB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.4989, allocations: 0 / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.4991, allocations: 27.95 kB / 1.313 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.4992, allocations: 7.984 kB / 1.314 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.4992, allocations: 4 kB / 1.314 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001054/0.4993, allocations: 123.2 kB / 1.314 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4993, allocations: 8 kB / 1.314 GB, free: 11 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002755/0.4996, allocations: 16 kB / 1.314 GB, free: 10.98 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.0001564/0.4997, allocations: 96.05 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005617/0.5003, allocations: 179.7 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5003, allocations: 0 / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.5005, allocations: 83.86 kB / 1.314 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.5009, allocations: 13.41 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.5015, allocations: 263 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.5019, allocations: 0.7119 MB / 1.315 GB, free: 9.586 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001048/0.502, allocations: 27.97 kB / 1.315 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.5021, allocations: 11.44 kB / 1.315 GB, free: 9.547 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.5021, allocations: 0 / 1.315 GB, free: 9.547 MB / 1.014 GB
Notification: Performance of Templates: time 0.004655/0.5067, allocations: 1.243 MB / 1.316 GB, free: 8.309 MB / 1.014 GB
"
[Timeout remaining time 299]
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.599798870272934]