Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001771/0.001771, allocations: 110 kB / 18.93 MB, free: 2.945 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.001975/0.001975, allocations: 188.8 kB / 22.23 MB, free: 5.16 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.571/1.571, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 71.89 kB / 1.11 GB, free: 6.242 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.047, allocations: 168.8 MB / 1.274 GB, free: 4.164 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.003075/1.05, allocations: 0.7627 MB / 1.275 GB, free: 3.402 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001545/1.051, allocations: 0.839 MB / 1.276 GB, free: 2.551 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/1.051, allocations: 0 / 1.276 GB, free: 2.551 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002517/1.051, allocations: 55.8 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.301e-05/1.052, allocations: 39.83 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 9.338e-05/1.052, allocations: 11.98 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002023/1.052, allocations: 99.67 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/1.052, allocations: 11.98 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/1.052, allocations: 47.84 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000199/1.052, allocations: 87.77 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.413e-05/1.052, allocations: 8 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.019e-05/1.052, allocations: 11.94 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 9.883e-05/1.053, allocations: 35.89 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 7.21e-05/1.053, allocations: 47.73 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001973/1.053, allocations: 113.9 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.053, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.573e-06/1.053, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.378e-05/1.053, allocations: 3.938 kB / 1.277 GB, free: 1.992 MB / 0.9669 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.0009517/1.054, allocations: 401.6 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.054, allocations: 15.98 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/1.054, allocations: 8.891 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/1.054, allocations: 152.5 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.054, allocations: 384 / 1.277 GB, free: 1.371 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/1.054, allocations: 8.375 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/1.055, allocations: 151.9 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.055, allocations: 4.125 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/1.055, allocations: 11.92 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.055, allocations: 0 / 1.277 GB, free: 1.188 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/1.055, allocations: 167.8 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/1.056, allocations: 479.9 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/1.057, allocations: 161.1 kB / 1.278 GB, free: 340 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/1.057, allocations: 85.73 kB / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/1.057, allocations: 8 kB / 1.278 GB, free: 240 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.057, allocations: 38.5 kB / 1.278 GB, free: 192 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=8): time 1.343e-06/1.057, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=8): time 0.0009001/1.058, allocations: 285.3 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.058, allocations: 81.11 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/1.058, allocations: 164.4 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.058, allocations: 29.7 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/1.058, allocations: 100.1 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/1.058, allocations: 31.73 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/1.058, allocations: 17.72 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001662/1.058, allocations: 330.8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/1.059, allocations: 75.92 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/1.059, allocations: 97.62 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/1.059, allocations: 181.4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.059, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005304/1.06, allocations: 205.4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.06, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.06, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.06, allocations: 4.469 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/1.06, allocations: 39.89 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.06, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/1.06, allocations: 35.84 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/1.06, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 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.0001967/1.06, allocations: 133.8 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/1.061, allocations: 7.953 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/1.061, allocations: 28.31 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.061, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.061, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.061, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/1.061, allocations: 204.5 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.061, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/1.061, allocations: 39.95 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.061, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.061, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/1.061, allocations: 3.938 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.061, allocations: 0 / 1.28 GB, free: 13.99 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/1.062, allocations: 378.6 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/1.062, allocations: 11.91 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.062, allocations: 4 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/1.062, allocations: 23.97 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/1.062, allocations: 11.98 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.062, allocations: 7.984 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001019/1.062, allocations: 125 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.062, allocations: 0 / 1.281 GB, free: 13.43 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002676/1.062, allocations: 16 kB / 1.281 GB, free: 13.41 MB / 0.9825 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.0001611/1.063, allocations: 95.19 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0005458/1.063, allocations: 175.8 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.063, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002588/1.063, allocations: 87.84 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/1.064, allocations: 24.31 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/1.064, allocations: 267 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.065, allocations: 0.708 MB / 1.282 GB, free: 12 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 8.591e-05/1.065, allocations: 31.95 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/1.065, allocations: 15.44 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.2e-07/1.065, allocations: 4 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004917/1.07, allocations: 1.243 MB / 1.283 GB, free: 10.72 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.546785805374384]