Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 183.9 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009809/0.000981, allocations: 85.19 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 12.41 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.205, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.3698, allocations: 131 MB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.3701, allocations: 75.95 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001122/0.3712, allocations: 0.4886 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3712, allocations: 4 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3712, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 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.0002373/0.3715, allocations: 303.4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3715, allocations: 12.03 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.3716, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3717, allocations: 167 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3717, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.3717, allocations: 4 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.3718, allocations: 37.69 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3718, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3718, allocations: 4 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3718, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.3719, allocations: 3.938 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.372, allocations: 153.6 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.3721, allocations: 14.58 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3721, allocations: 4.094 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3721, allocations: 34.56 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3721, allocations: 0 / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.3723, allocations: 37.64 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3723, allocations: 51.41 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.164e-05/0.3723, allocations: 89 kB / 1.029 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3724, allocations: 25.7 kB / 1.029 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.3724, allocations: 84.12 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3724, allocations: 8.125 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/0.3725, allocations: 4.125 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3726, allocations: 310.8 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.3726, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.3726, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.592e-05/0.3726, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3726, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.328e-05/0.3727, allocations: 41.59 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3727, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3727, allocations: 8.016 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3727, allocations: 4 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.3728, allocations: 4 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3728, allocations: 0 / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.3728, allocations: 0 / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3728, allocations: 0 / 1.03 GB, free: 10.6 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/0.3729, allocations: 105.8 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.3729, allocations: 7.953 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.373, allocations: 44.81 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.373, allocations: 3.938 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.373, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3731, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.23e-05/0.3732, allocations: 149.6 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3732, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.3732, allocations: 3.984 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3732, allocations: 3.953 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3732, allocations: 4 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3732, allocations: 4.031 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3732, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.191e-05/0.3733, allocations: 53.14 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3733, allocations: 85.09 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.3734, allocations: 3.953 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.3734, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.3734, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3734, allocations: 4.031 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.3734, allocations: 79.28 kB / 1.03 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3734, allocations: 4 kB / 1.03 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001884/0.3736, allocations: 8 kB / 1.03 GB, free: 9.945 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.3738, allocations: 103.2 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.585e-05/0.3739, allocations: 7.984 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3739, allocations: 4 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-06/0.3739, allocations: 4.062 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.187e-05/0.374, allocations: 4.922 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.3742, allocations: 74.7 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3744, allocations: 0.677 MB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.3745, allocations: 0 / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.3745, allocations: 15.44 kB / 1.031 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3745, allocations: 0 / 1.031 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of Templates: time 0.001988/0.3765, allocations: 276 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches