Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.00133/0.00133, 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.001398/0.001398, allocations: 190.4 kB / 22.23 MB, free: 5.098 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.18 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.843/2.843, allocations: 476.7 MB / 0.7646 GB, free: 9.879 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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial")
translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 63.89 kB / 1.11 GB, free: 6.352 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8149, allocations: 168.8 MB / 1.274 GB, free: 4.27 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003358/0.8183, allocations: 1.446 MB / 1.276 GB, free: 2.816 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0003682/0.8187, allocations: 107.7 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.8187, allocations: 4 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 6.6e-05/0.8188, allocations: 3.938 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.8188, allocations: 3.938 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.8191, allocations: 15.98 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.8192, allocations: 27.86 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8193, allocations: 11.98 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.8194, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.8194, allocations: 15.92 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.8194, allocations: 4 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.8195, allocations: 27.97 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.8196, allocations: 7.938 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.8196, allocations: 11.92 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.8197, allocations: 38.56 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8197, allocations: 0 / 1.276 GB, free: 2.543 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.412e-06/0.8197, allocations: 3.938 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.41e-06/0.8197, allocations: 0 / 1.276 GB, free: 2.539 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0005062/0.8203, allocations: 270 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.8203, allocations: 12.03 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.8203, allocations: 4.938 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.8205, allocations: 118.4 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8205, allocations: 384 / 1.276 GB, free: 2.09 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.8205, allocations: 4.375 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.8207, allocations: 50.23 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.8207, allocations: 192 / 1.276 GB, free: 2.031 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8207, allocations: 3.938 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.8208, allocations: 4 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.8209, allocations: 39.91 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.8213, allocations: 220 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.8215, allocations: 46.48 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.8216, allocations: 24.89 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.8216, allocations: 8 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.8216, allocations: 30.56 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8216, allocations: 0 / 1.277 GB, free: 1.598 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0003903/0.822, allocations: 89.58 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.8221, allocations: 51.41 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.8222, allocations: 114 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.8222, allocations: 25.7 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.8223, allocations: 88.14 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.8223, allocations: 11.92 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.8223, allocations: 13.72 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000139/0.8225, allocations: 314.8 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.8226, allocations: 15.98 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.8226, allocations: 23.97 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.8228, allocations: 44.77 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8228, allocations: 0 / 1.278 GB, free: 0.7656 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002258/0.823, allocations: 77.55 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.823, allocations: 11.94 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8231, allocations: 96 / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8231, allocations: 4 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.8232, allocations: 11.92 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8232, allocations: 0 / 1.278 GB, free: 0.6562 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.8232, allocations: 7.984 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.8232, allocations: 4 kB / 1.278 GB, free: 0.6445 MB / 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 (2):
 * Single equations (assignments): 2
 * 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.461e-05/0.8233, allocations: 109.8 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.8233, allocations: 0 / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.8236, allocations: 85.22 kB / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8236, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.8236, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8236, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.8238, allocations: 136.7 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8238, allocations: 0 / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.8238, allocations: 11.98 kB / 1.278 GB, free: 256 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8238, allocations: 0 / 1.278 GB, free: 256 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.8238, allocations: 0 / 1.278 GB, free: 256 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8238, allocations: 4.031 kB / 1.278 GB, free: 252 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8238, allocations: 0 / 1.278 GB, free: 252 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.8241, allocations: 171.4 kB / 1.278 GB, free: 64 kB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.8241, allocations: 3.953 kB / 1.278 GB, free: 60 kB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.8241, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.8242, allocations: 16.27 kB / 1.278 GB, free: 44 kB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.8243, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.8243, allocations: 8 kB / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of sorting global known variables: time 7.439e-05/0.8243, allocations: 83.27 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8243, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002355/0.8246, allocations: 15.94 kB / 1.278 GB, free: 15.94 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 (2):
 * Single equations (assignments): 2
 * 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.0001567/0.8247, allocations: 95.25 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003144/0.8251, allocations: 43.95 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8251, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.8252, allocations: 23.92 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.8255, allocations: 17.42 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.8259, allocations: 109.5 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.8263, allocations: 0.6768 MB / 1.279 GB, free: 14.92 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.651e-05/0.8263, allocations: 8.125 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.8263, allocations: 7.438 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.31e-07/0.8263, allocations: 3.938 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003289/0.8296, allocations: 0.5479 MB / 1.28 GB, free: 14.36 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.55534049961716]