Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001371/0.001371, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001417/0.001417, allocations: 189.6 kB / 22.23 MB, free: 5.137 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.566/1.566, allocations: 225.6 MB / 251 MB, free: 13.05 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.776/2.776, allocations: 476.7 MB / 0.7646 GB, free: 9.922 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear")
translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.89 kB / 1.11 GB, free: 6.375 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8213, allocations: 168.8 MB / 1.274 GB, free: 4.289 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.004755/0.8261, allocations: 1.515 MB / 1.276 GB, free: 2.77 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0005063/0.8266, allocations: 115.7 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.8267, allocations: 0 / 1.276 GB, free: 2.656 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 6.833e-05/0.8267, allocations: 3.938 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 7.837e-05/0.8268, allocations: 7.938 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.8271, allocations: 23.97 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001572/0.8273, allocations: 51.83 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.8274, allocations: 8 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.8274, allocations: 15.92 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.8275, allocations: 23.92 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.8275, allocations: 7.938 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.8277, allocations: 19.98 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.8277, allocations: 7.984 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.8278, allocations: 23.86 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.828, allocations: 62.12 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.828, allocations: 4 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.924e-06/0.828, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.452e-06/0.828, allocations: 0 / 1.276 GB, free: 2.406 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0007911/0.8288, allocations: 306 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8288, allocations: 8.031 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.8289, allocations: 8.891 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.8291, allocations: 114.4 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.8291, allocations: 8.375 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.8291, allocations: 4.375 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.8295, allocations: 74.2 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.8296, allocations: 4.125 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.8296, allocations: 3.938 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8296, allocations: 4 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.8302, allocations: 71.92 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.8308, allocations: 263.9 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.8312, allocations: 70.41 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.8315, allocations: 40.91 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.8319, allocations: 39.95 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.8319, allocations: 30.56 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.8319, allocations: 0 / 1.277 GB, free: 1.25 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.00112/0.8331, allocations: 153.5 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.8331, allocations: 51.41 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.8333, allocations: 125.8 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.8334, allocations: 25.7 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8335, allocations: 96.03 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.8335, allocations: 11.94 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.8336, allocations: 17.72 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000213/0.8338, allocations: 318.8 kB / 1.278 GB, free: 424 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.834, allocations: 35.95 kB / 1.278 GB, free: 388 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.8343, allocations: 39.95 kB / 1.278 GB, free: 348 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.8349, allocations: 76.78 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.8349, allocations: 3.938 kB / 1.278 GB, free: 264 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007079/0.8356, allocations: 117.5 kB / 1.278 GB, free: 140 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.8357, allocations: 4 kB / 1.278 GB, free: 136 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8357, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.8357, allocations: 3.984 kB / 1.278 GB, free: 132 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.8359, allocations: 19.98 kB / 1.278 GB, free: 112 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8359, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.8361, allocations: 11.98 kB / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.8361, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (3):
 * Single equations (assignments): 3
 * 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.0001843/0.8363, allocations: 117.8 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.8363, allocations: 7.938 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.8371, allocations: 121.5 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.8371, allocations: 4 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8371, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.8371, allocations: 4 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.8374, allocations: 152.7 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8374, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.8376, allocations: 11.98 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.8376, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.8376, allocations: 11.98 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8376, allocations: 3.938 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8376, allocations: 3.938 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.8384, allocations: 203.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.8384, allocations: 16.02 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.8384, allocations: 4 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.8386, allocations: 15.92 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.8387, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8387, allocations: 3.984 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.000115/0.8388, allocations: 101.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.8388, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0004624/0.8393, allocations: 15.94 kB / 1.279 GB, free: 15.24 MB / 0.9825 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 (3):
 * Single equations (assignments): 3
 * 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.0002268/0.8395, allocations: 99.25 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0006801/0.8402, allocations: 75.91 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8402, allocations: 4 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.8405, allocations: 43.91 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.841, allocations: 7.938 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.8415, allocations: 149.5 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.842, allocations: 0.6885 MB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 5.53e-05/0.8421, allocations: 7.969 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.8421, allocations: 11.44 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB
Notification: Performance of SimCode: time 5.91e-07/0.8421, allocations: 0 / 1.28 GB, free: 14.1 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006203/0.8483, allocations: 0.8112 MB / 1.281 GB, free: 13.29 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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: 8.746446190401912]