Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.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.001577/0.001577, 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.001682/0.001682, allocations: 189.5 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.448/1.448, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.044/3.044, allocations: 495.7 MB / 0.7831 GB, free: 33.61 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic")
translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 66.83 kB / 1.137 GB, free: 33.91 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 173.6 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002754/0.3438, allocations: 1.513 MB / 1.308 GB, free: 456 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003029/0.3441, allocations: 103.7 kB / 1.309 GB, free: 352 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.3442, allocations: 0 / 1.309 GB, free: 352 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.3442, allocations: 3.938 kB / 1.309 GB, free: 348 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.3442, allocations: 3.938 kB / 1.309 GB, free: 344 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.3444, allocations: 31.89 kB / 1.309 GB, free: 312 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.3445, allocations: 35.92 kB / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.3446, allocations: 15.98 kB / 1.309 GB, free: 260 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.3446, allocations: 19.92 kB / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.3447, allocations: 19.92 kB / 1.309 GB, free: 220 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3447, allocations: 4 kB / 1.309 GB, free: 216 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.3448, allocations: 19.98 kB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.3448, allocations: 15.92 kB / 1.309 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.3448, allocations: 19.88 kB / 1.309 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.345, allocations: 63.67 kB / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.345, allocations: 0 / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.032e-06/0.345, allocations: 0 / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.571e-06/0.345, allocations: 0 / 1.309 GB, free: 96 kB / 0.9981 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.0005437/0.3455, allocations: 302.1 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3456, allocations: 8.031 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3456, allocations: 12.83 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3457, allocations: 122.4 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3457, allocations: 384 / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3457, allocations: 4.375 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.346, allocations: 78.22 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.346, allocations: 192 / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.346, allocations: 3.938 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.346, allocations: 4 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.3464, allocations: 71.86 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3467, allocations: 268 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.347, allocations: 70.45 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3472, allocations: 36.92 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.3474, allocations: 39.97 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3474, allocations: 34.5 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3474, allocations: 0 / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005982/0.348, allocations: 149.6 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.348, allocations: 51.41 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3482, allocations: 129.8 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3482, allocations: 25.7 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3482, allocations: 96.08 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3483, allocations: 7.953 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.3483, allocations: 9.719 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001376/0.3484, allocations: 322.8 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3486, allocations: 35.97 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3487, allocations: 39.95 kB / 1.311 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.3491, allocations: 80.72 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3491, allocations: 3.938 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003612/0.3494, allocations: 121.6 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3494, allocations: 6.656 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.3494, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3495, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3496, allocations: 15.98 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3496, allocations: 0 / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3497, allocations: 19.92 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.3497, allocations: 0 / 1.311 GB, free: 13.78 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 8.981e-05/0.3498, allocations: 125.7 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3498, allocations: 3.953 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.3502, allocations: 117.5 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3502, allocations: 8 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3502, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3502, allocations: 3.984 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3504, allocations: 148.7 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3504, allocations: 3.938 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3505, allocations: 19.97 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3505, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3505, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3505, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3505, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.351, allocations: 215.7 kB / 1.311 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.351, allocations: 4 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.351, allocations: 48 / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3511, allocations: 19.97 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3511, allocations: 3.984 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3511, allocations: 7.938 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.947e-05/0.3512, allocations: 101.9 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.3512, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002234/0.3514, allocations: 8 kB / 1.312 GB, free: 12.92 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.0001283/0.3516, allocations: 96.05 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003753/0.3519, allocations: 87.91 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3519, allocations: 3.938 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3521, allocations: 39.95 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3523, allocations: 15.88 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3527, allocations: 153.5 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.353, allocations: 0.6885 MB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.697e-05/0.353, allocations: 0 / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.3531, allocations: 7.438 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.3531, allocations: 4 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of Templates: time 0.003193/0.3562, allocations: 0.8056 MB / 1.313 GB, free: 10.97 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.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.618446849286556]