Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.001391/0.001391, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001613/0.001613, allocations: 190.7 kB / 22.11 MB, free: 5.152 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.453/1.453, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.237/3.237, 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial")
translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 73.38 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001869/0.3666, allocations: 0.6033 MB / 1.307 GB, free: 1.199 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000248/0.3668, allocations: 35.88 kB / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.3668, allocations: 0 / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.3668, allocations: 0 / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.3668, allocations: 0 / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.3671, allocations: 8 kB / 1.307 GB, free: 1.156 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.3672, allocations: 11.98 kB / 1.307 GB, free: 1.145 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.3672, allocations: 0 / 1.307 GB, free: 1.145 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.309e-05/0.3672, allocations: 4 kB / 1.307 GB, free: 1.141 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.3673, allocations: 7.922 kB / 1.307 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.3673, allocations: 0 / 1.307 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.3674, allocations: 23.91 kB / 1.307 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.3674, allocations: 0 / 1.307 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.3674, allocations: 0 / 1.307 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.3675, allocations: 15.98 kB / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3675, allocations: 0 / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.3675, allocations: 0 / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.097e-06/0.3675, allocations: 4 kB / 1.307 GB, free: 1.09 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003025/0.3678, allocations: 242.8 kB / 1.308 GB, free: 0.8203 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3678, allocations: 8.031 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.3678, allocations: 4.938 kB / 1.308 GB, free: 0.8086 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.3679, allocations: 106.5 kB / 1.308 GB, free: 0.6797 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3679, allocations: 384 / 1.308 GB, free: 0.6797 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.3679, allocations: 384 / 1.308 GB, free: 0.6797 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.368, allocations: 30.27 kB / 1.308 GB, free: 0.6445 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.368, allocations: 4.188 kB / 1.308 GB, free: 0.6406 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3681, allocations: 7.922 kB / 1.308 GB, free: 0.6328 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3681, allocations: 4 kB / 1.308 GB, free: 0.6289 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.3681, allocations: 3.938 kB / 1.308 GB, free: 0.625 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3682, allocations: 120.8 kB / 1.308 GB, free: 476 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 3.979e-05/0.3683, allocations: 22.52 kB / 1.308 GB, free: 444 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3683, allocations: 8.953 kB / 1.308 GB, free: 432 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.3683, allocations: 0 / 1.308 GB, free: 432 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3683, allocations: 34.56 kB / 1.308 GB, free: 388 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3683, allocations: 0 / 1.308 GB, free: 388 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001477/0.3685, allocations: 49.5 kB / 1.308 GB, free: 332 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3685, allocations: 51.41 kB / 1.308 GB, free: 268 kB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3687, allocations: 89.86 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3687, allocations: 25.7 kB / 1.308 GB, free: 136 kB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.3688, allocations: 84.14 kB / 1.308 GB, free: 48 kB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3688, allocations: 128 / 1.308 GB, free: 48 kB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.3688, allocations: 17.72 kB / 1.308 GB, free: 24 kB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0001978/0.369, allocations: 310.8 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.369, allocations: 0 / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-06/0.3691, allocations: 7.984 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.3691, allocations: 4.859 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3691, allocations: 3.938 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.738e-05/0.3691, allocations: 37.7 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3691, allocations: 8.094 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3692, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3692, allocations: 3.938 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.3692, allocations: 4 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3692, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.3692, allocations: 3.984 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3692, allocations: 0 / 1.309 GB, free: 15.63 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 (1):
 * Single equations (assignments): 1
 * 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 9.751e-05/0.3693, allocations: 113.8 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.3694, allocations: 0 / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.3695, allocations: 52.56 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3695, allocations: 7.984 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3695, allocations: 0 / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3695, allocations: 0 / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.725e-05/0.3696, allocations: 116.8 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3696, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.3696, allocations: 4 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3696, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3696, allocations: 7.969 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3696, allocations: 0 / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3696, allocations: 3.984 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.3697, allocations: 57.14 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.3697, allocations: 0 / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3697, allocations: 7.938 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.3697, allocations: 7.875 kB / 1.309 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.3697, allocations: 15.95 kB / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3697, allocations: 0 / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.299e-05/0.3698, allocations: 75.28 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3698, allocations: 0 / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002132/0.37, allocations: 7.938 kB / 1.309 GB, free: 15.09 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 (1):
 * Single equations (assignments): 1
 * 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.0001488/0.3701, allocations: 100 kB / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.382e-05/0.3702, allocations: 4 kB / 1.309 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3702, allocations: 4.062 kB / 1.309 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.3702, allocations: 4 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3703, allocations: 7.984 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.3705, allocations: 82.7 kB / 1.309 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3709, allocations: 0.6728 MB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.369e-05/0.3709, allocations: 4 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.3709, allocations: 11.5 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.3709, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of Templates: time 0.002714/0.3737, allocations: 288.6 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.89363569766283]