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.682/1.682, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 176.8 kB / 316.3 MB, free: 3.324 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.782/1.782, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.0008249/0.0008249, allocations: 92.44 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.252e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8468/1.058, allocations: 131.2 MB / 1.013 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/1.058, allocations: 74.64 kB / 1.013 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00107/1.059, allocations: 483.4 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.059, allocations: 3.688 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.531e-06/1.059, allocations: 0 / 1.014 GB, free: 6.16 MB / 0.6355 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.0002678/1.06, allocations: 312.6 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/1.06, allocations: 8.031 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/1.06, allocations: 0 / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/1.06, allocations: 167 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/1.06, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/1.06, allocations: 4 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.995e-05/1.06, allocations: 0 / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.481e-05/1.06, allocations: 26.3 kB / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.06, allocations: 10.62 kB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.06, allocations: 4 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.06, allocations: 3.938 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/1.06, allocations: 129.9 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/1.06, allocations: 17.31 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/1.06, allocations: 16.94 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/1.06, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.061, allocations: 30.56 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/1.061, allocations: 0 / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002005/1.061, allocations: 29.7 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.061, allocations: 59.34 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.074e-05/1.061, allocations: 85 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.061, allocations: 25.7 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/1.061, allocations: 88.05 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/1.061, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.061, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.061, allocations: 314.8 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/1.061, allocations: 0 / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/1.061, allocations: 4 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/1.061, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.061, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.372e-05/1.061, allocations: 45.7 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.061, allocations: 4 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.061, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.061, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/1.061, allocations: 7.984 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.061, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/1.061, allocations: 3.938 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/1.061, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 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 () * 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 8.597e-05/1.062, allocations: 108.9 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/1.062, allocations: 11.92 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/1.062, allocations: 45.33 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.062, allocations: 0 / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.062, allocations: 0 / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.062, allocations: 4 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/1.062, allocations: 122.2 kB / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.062, allocations: 0 / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/1.062, allocations: 0 / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.062, allocations: 8.031 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.062, allocations: 0 / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/1.062, allocations: 7.938 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.062, allocations: 0 / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/1.062, allocations: 64.95 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/1.062, allocations: 77.11 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/1.062, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/1.062, allocations: 8.016 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/1.062, allocations: 3.953 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/1.062, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.447e-05/1.062, allocations: 79.28 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 0 / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002038/1.062, allocations: 4 kB / 1.016 GB, free: 4 MB / 0.6355 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 () * 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.0002113/1.063, allocations: 103.2 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/1.063, allocations: 4 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.063, allocations: 4.062 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/1.063, allocations: 4 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/1.063, allocations: 0.7812 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001625/1.063, allocations: 55.88 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/1.063, allocations: 0.669 MB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.937e-05/1.063, allocations: 9.875 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/1.063, allocations: 11.42 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.063, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.001979/1.065, allocations: 277.4 kB / 1.017 GB, free: 2.828 MB / 0.6355 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