Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001343/0.001343, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001298/0.001298, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.409/1.409, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.136 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8785, allocations: 173.6 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002065/0.8805, allocations: 1.453 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.8808, allocations: 105.2 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.8808, allocations: 0 / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.8809, allocations: 7.312 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.8809, allocations: 2.938 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.8811, allocations: 20.98 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.8812, allocations: 19.75 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.8813, allocations: 14.38 kB / 1.307 GB, free: 32.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.8813, allocations: 6.906 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.8813, allocations: 14.02 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.8814, allocations: 2.906 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.8814, allocations: 23.64 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.8815, allocations: 10.77 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.8815, allocations: 14.19 kB / 1.307 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.8816, allocations: 31.98 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8816, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.183e-06/0.8816, allocations: 3.938 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.8816, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 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.0003569/0.882, allocations: 351.2 kB / 1.307 GB, free: 31.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.882, allocations: 10.47 kB / 1.307 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.882, allocations: 0.9375 kB / 1.307 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.8821, allocations: 175 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.8821, allocations: 384 / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8821, allocations: 3.312 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.8823, allocations: 51.73 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8823, allocations: 192 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.8823, allocations: 10.75 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8823, allocations: 0 / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.8825, allocations: 33.8 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.8827, allocations: 256.5 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.8829, allocations: 51.23 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.8829, allocations: 26.92 kB / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.883, allocations: 0 / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.883, allocations: 33.44 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.883, allocations: 0 / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003202/0.8833, allocations: 89.73 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.8833, allocations: 55.34 kB / 1.308 GB, free: 31.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.8834, allocations: 105.9 kB / 1.308 GB, free: 31.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.792e-06/0.8834, allocations: 25.7 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.8834, allocations: 80.14 kB / 1.308 GB, free: 30.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.8834, allocations: 10.86 kB / 1.308 GB, free: 30.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.8834, allocations: 15.75 kB / 1.308 GB, free: 30.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.8835, allocations: 310.8 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.8836, allocations: 26.27 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.8836, allocations: 12.27 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.8838, allocations: 45.42 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8838, allocations: 0 / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001681/0.8839, allocations: 84.52 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.8839, allocations: 5.969 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.8839, allocations: 3.938 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.884, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.884, allocations: 12.86 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.884, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.8841, allocations: 9 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.8841, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 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 4.332e-05/0.8841, allocations: 120.7 kB / 1.309 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.8842, allocations: 0 / 1.309 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.8844, allocations: 76.17 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8844, allocations: 0 / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8844, allocations: 4 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8844, allocations: 2.719 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.8845, allocations: 162 kB / 1.309 GB, free: 30.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8845, allocations: 3.938 kB / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.8845, allocations: 12.89 kB / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8845, allocations: 3.984 kB / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.8845, allocations: 2.938 kB / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8845, allocations: 3.234 kB / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8845, allocations: 0 / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.8847, allocations: 163.9 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.8847, allocations: 85.09 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.8848, allocations: 6.062 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.8848, allocations: 3.031 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.8849, allocations: 3.703 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.8849, allocations: 3.406 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.8849, allocations: 82.25 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8849, allocations: 0 / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002252/0.8851, allocations: 12.44 kB / 1.31 GB, free: 29.79 MB / 1.061 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.0001045/0.8852, allocations: 110.7 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.8854, allocations: 37.38 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8854, allocations: 0 / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.8855, allocations: 22.78 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.8857, allocations: 8.312 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.886, allocations: 130.1 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.531e-05/0.8861, allocations: 0.6807 MB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.8861, allocations: 0 / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.8861, allocations: 14.19 kB / 1.311 GB, free: 28.86 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.8861, allocations: 3.938 kB / 1.311 GB, free: 28.86 MB / 1.061 GB Notification: Performance of Templates: time 0.002748/0.8889, allocations: 0.542 MB / 1.311 GB, free: 28.79 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.689402598887682]