Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, 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.001508/0.001508, allocations: 190.4 kB / 22.1 MB, free: 4.625 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 13.04 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.182/3.182, allocations: 495.8 MB / 0.783 GB, free: 33.62 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear")
translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 69.59 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3689, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002904/0.3718, allocations: 1.523 MB / 1.308 GB, free: 280 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003623/0.3721, allocations: 107.7 kB / 1.308 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.3722, allocations: 0 / 1.308 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.3722, allocations: 3.938 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.3723, allocations: 7.875 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3725, allocations: 27.97 kB / 1.308 GB, free: 132 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3727, allocations: 43.91 kB / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3728, allocations: 7.984 kB / 1.308 GB, free: 80 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.3728, allocations: 23.92 kB / 1.308 GB, free: 56 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.3729, allocations: 19.86 kB / 1.308 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3729, allocations: 4 kB / 1.308 GB, free: 32 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.373, allocations: 19.98 kB / 1.308 GB, free: 12 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.3731, allocations: 16 kB / 1.308 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3731, allocations: 23.86 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3733, allocations: 59.66 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3733, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.014e-06/0.3733, allocations: 4 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.216e-05/0.3733, allocations: 0 / 1.309 GB, free: 15.91 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0006072/0.3739, allocations: 306 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3739, allocations: 12.03 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.374, allocations: 8.891 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3741, allocations: 114.4 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3741, allocations: 384 / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3741, allocations: 384 / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.3744, allocations: 86.14 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3744, allocations: 192 / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3744, allocations: 3.938 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3745, allocations: 0 / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.3748, allocations: 75.92 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.3752, allocations: 256 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3755, allocations: 66.41 kB / 1.309 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3757, allocations: 48.91 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.3759, allocations: 35.91 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3759, allocations: 34.56 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3759, allocations: 0 / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0006609/0.3766, allocations: 145.6 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.3767, allocations: 51.41 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3768, allocations: 133 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3768, allocations: 29.64 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.3769, allocations: 100.1 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3769, allocations: 7.891 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3769, allocations: 17.66 kB / 1.31 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001518/0.3771, allocations: 322.8 kB / 1.31 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.3773, allocations: 35.97 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3774, allocations: 35.95 kB / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3777, allocations: 84.78 kB / 1.31 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3777, allocations: 3.938 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003585/0.3781, allocations: 109.9 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3781, allocations: 7.984 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3781, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3781, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3783, allocations: 23.97 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3783, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.3784, allocations: 15.97 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3784, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 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.0001137/0.3785, allocations: 126.5 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3785, allocations: 7.953 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.3789, allocations: 121.6 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3789, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3789, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3789, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3792, allocations: 156.6 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3792, allocations: 0 / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3793, allocations: 19.97 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3793, allocations: 0 / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3793, allocations: 3.938 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3793, allocations: 4 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3793, allocations: 0 / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.3797, allocations: 215.3 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.3797, allocations: 0 / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3797, allocations: 0 / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3798, allocations: 15.98 kB / 1.311 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.3799, allocations: 7.984 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3799, allocations: 4 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.152e-05/0.38, allocations: 95.27 kB / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.38, allocations: 0 / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002328/0.3802, allocations: 12 kB / 1.311 GB, free: 12.74 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 (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.0001629/0.3804, allocations: 95.25 kB / 1.311 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003862/0.3808, allocations: 87.84 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3808, allocations: 0 / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3809, allocations: 39.91 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3812, allocations: 20.64 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.3816, allocations: 153.5 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3819, allocations: 0.6846 MB / 1.312 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.009e-05/0.382, allocations: 4 kB / 1.312 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.382, allocations: 7.438 kB / 1.312 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of SimCode: time 3.61e-07/0.382, allocations: 0 / 1.312 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of Templates: time 0.003709/0.3857, allocations: 0.8181 MB / 1.313 GB, free: 10.79 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.010422427207232]