Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001651/0.001651, allocations: 112.7 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.001892/0.001892, allocations: 187.1 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.468/1.468, 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-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.277/3.277, allocations: 496 MB / 0.7835 GB, free: 33.54 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.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic")
translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 69.31 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003082/0.3733, allocations: 1.517 MB / 1.309 GB, free: 296 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003495/0.3737, allocations: 107.7 kB / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.3737, allocations: 0 / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.3737, allocations: 3.938 kB / 1.309 GB, free: 184 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.3738, allocations: 11.92 kB / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.374, allocations: 15.98 kB / 1.309 GB, free: 156 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.3741, allocations: 43.84 kB / 1.309 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3742, allocations: 15.98 kB / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.3743, allocations: 19.92 kB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.3743, allocations: 19.92 kB / 1.309 GB, free: 56 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3743, allocations: 4 kB / 1.309 GB, free: 52 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.3744, allocations: 19.98 kB / 1.309 GB, free: 32 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.3744, allocations: 15.92 kB / 1.309 GB, free: 16 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3745, allocations: 19.91 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3746, allocations: 59.69 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3746, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.3746, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.16e-06/0.3746, allocations: 0 / 1.309 GB, free: 15.94 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.0005332/0.3752, allocations: 306.1 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3752, allocations: 8.922 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3752, allocations: 12.83 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3754, allocations: 114.4 kB / 1.31 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3754, allocations: 8.375 kB / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3754, allocations: 384 / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3756, allocations: 78.2 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3757, allocations: 192 / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3757, allocations: 7.922 kB / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3757, allocations: 4 kB / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.376, allocations: 67.92 kB / 1.31 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3763, allocations: 263.9 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3766, allocations: 70.41 kB / 1.31 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.3767, allocations: 40.91 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.3769, allocations: 35.97 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3769, allocations: 34.56 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3769, allocations: 0 / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005422/0.3775, allocations: 149.5 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3775, allocations: 55.34 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3776, allocations: 129.8 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3777, allocations: 25.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3777, allocations: 92.09 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.3777, allocations: 11.94 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3778, allocations: 13.72 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001347/0.3779, allocations: 314.8 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.378, allocations: 39.95 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3782, allocations: 35.97 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3784, allocations: 84.77 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3784, allocations: 7.938 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003195/0.3788, allocations: 113.5 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.3788, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3788, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.3788, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3789, allocations: 19.97 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.3789, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.379, allocations: 23.92 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.379, allocations: 0 / 1.311 GB, free: 13.62 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.328e-05/0.3791, allocations: 117.7 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.3791, allocations: 7.953 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.3794, allocations: 129.5 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3794, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3794, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.3794, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3796, allocations: 156.6 kB / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3796, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.3797, allocations: 11.98 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3797, allocations: 4.375 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.3797, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3797, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3797, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.3801, allocations: 223.3 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.3801, allocations: 4 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3801, allocations: 3.984 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3802, allocations: 15.98 kB / 1.312 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.3803, allocations: 7.875 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3803, allocations: 0 / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.021e-05/0.3803, allocations: 108.4 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3803, allocations: 0 / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002334/0.3806, allocations: 8 kB / 1.312 GB, free: 12.76 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.0001253/0.3807, allocations: 96.05 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003293/0.381, allocations: 83.92 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.381, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3812, allocations: 43.89 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3814, allocations: 11.94 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.3817, allocations: 149.5 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.382, allocations: 0.6924 MB / 1.313 GB, free: 11.63 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.846e-05/0.3821, allocations: 4 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.3821, allocations: 11.44 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of SimCode: time 3.91e-07/0.3821, allocations: 0 / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of Templates: time 0.00301/0.3851, allocations: 0.8006 MB / 1.314 GB, free: 10.82 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.073043030686677]