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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007304/0.007304, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 196.7 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.054 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9724/0.9737, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002596/0.9763, allocations: 1.438 MB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003325/0.9767, allocations: 99.72 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.9767, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.831e-05/0.9768, allocations: 3.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.9769, allocations: 7.938 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.9771, allocations: 19.98 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.9772, allocations: 27.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.9773, allocations: 3.984 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.9774, allocations: 15.92 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.9775, allocations: 15.92 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.9775, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.9776, allocations: 15.98 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.9776, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.9776, allocations: 7.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.9778, allocations: 43.88 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9778, allocations: 3.938 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9778, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9778, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 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.0004426/0.9783, allocations: 351.2 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9783, allocations: 12.02 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.9783, allocations: 0.9375 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.9785, allocations: 168.3 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.9785, allocations: 4.375 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.9785, allocations: 4.375 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.9787, allocations: 54.23 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.9787, allocations: 192 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.9787, allocations: 3.938 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.9787, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.9789, allocations: 35.95 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.9792, allocations: 252.9 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.9794, allocations: 46.53 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.9795, allocations: 28.89 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.9795, allocations: 0 / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.9795, allocations: 42.55 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.9795, allocations: 4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.9799, allocations: 89.58 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.9799, allocations: 51.41 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.98, allocations: 105.8 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.98, allocations: 25.7 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.9801, allocations: 84.14 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.9801, allocations: 15.97 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.9802, allocations: 13.72 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9803, allocations: 310.8 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.9804, allocations: 23.97 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.9804, allocations: 15.98 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.9806, allocations: 44.88 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9806, allocations: 0 / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.9808, allocations: 81.45 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9808, allocations: 6.031 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9808, allocations: 3.984 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9808, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.9809, allocations: 8 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9809, allocations: 4.031 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.981, allocations: 9.812 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.981, allocations: 0 / 1.211 GB, free: 9.82 MB / 0.9356 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 7.707e-05/0.9811, allocations: 113.8 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.9811, allocations: 0 / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.9814, allocations: 85.05 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9814, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9814, allocations: 4.031 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9814, allocations: 4 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.9816, allocations: 161.6 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9816, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.9816, allocations: 8 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9816, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.9816, allocations: 4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9817, allocations: 0 / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9817, allocations: 0 / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.9819, allocations: 171.4 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.9819, allocations: 81.27 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.982, allocations: 4 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.982, allocations: 8 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.9821, allocations: 11.92 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.9821, allocations: 0 / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.9821, allocations: 83.31 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.485e-06/0.9821, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002223/0.9824, allocations: 15.94 kB / 1.212 GB, free: 8.973 MB / 0.9356 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.0001568/0.9825, allocations: 103.2 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.9828, allocations: 35.97 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9828, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.9829, allocations: 28.03 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.9832, allocations: 7.938 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.9835, allocations: 117.4 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.9837, allocations: 0.6807 MB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.9837, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.9838, allocations: 7.438 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9838, allocations: 64 / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of Templates: time 0.002732/0.9865, allocations: 0.5397 MB / 1.213 GB, free: 7.398 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) 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) Reference file matches