Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.5 MB / 257 MB, free: 6.84 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.001074/0.001074, allocations: 180.8 kB / 316.3 MB, free: 3.246 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.871/1.871, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009953/0.0009954, allocations: 85.81 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.483e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2757, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8927/1.168, allocations: 131.9 MB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/1.169, allocations: 69.28 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002535/1.171, allocations: 0.7827 MB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/1.171, allocations: 0 / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.171, allocations: 0 / 1.015 GB, free: 5.199 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003889/1.172, allocations: 337.3 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.172, allocations: 8.781 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/1.172, allocations: 4 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/1.172, allocations: 163 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.172, allocations: 4 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/1.172, allocations: 4 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.231e-05/1.172, allocations: 22.11 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/1.172, allocations: 36.94 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.172, allocations: 0 / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.172, allocations: 6.562 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.172, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/1.173, allocations: 260 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.894e-05/1.173, allocations: 25.89 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/1.173, allocations: 12.11 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/1.173, allocations: 7.938 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/1.173, allocations: 30.56 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.564e-06/1.173, allocations: 4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/1.173, allocations: 44.62 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/1.173, allocations: 51.41 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/1.173, allocations: 101.3 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/1.173, allocations: 25.7 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/1.173, allocations: 83.7 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/1.173, allocations: 7.844 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/1.173, allocations: 4 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.173, allocations: 322.3 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/1.173, allocations: 7.984 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/1.173, allocations: 7.5 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/1.173, allocations: 4 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.174, allocations: 0 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.984e-05/1.174, allocations: 53 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.174, allocations: 4 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.174, allocations: 4 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.174, allocations: 2.062 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/1.174, allocations: 20.02 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/1.174, allocations: 0 / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/1.174, allocations: 11.98 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/1.174, allocations: 0 / 1.016 GB, free: 3.414 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 (2): * Single equations (assignments): 2 * 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.597e-05/1.174, allocations: 104.9 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/1.174, allocations: 3.906 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/1.174, allocations: 67.8 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.174, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.174, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/1.174, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/1.174, allocations: 137.4 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.174, allocations: 7.953 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/1.174, allocations: 11.98 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.174, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/1.174, allocations: 256 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.174, allocations: 4 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.174, allocations: 4.031 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/1.175, allocations: 141.2 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/1.175, allocations: 88.91 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/1.175, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/1.175, allocations: 11.98 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/1.175, allocations: 3.25 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/1.175, allocations: 4.031 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.92e-05/1.175, allocations: 83.27 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/1.175, allocations: 4 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002196/1.175, allocations: 4 kB / 1.017 GB, free: 2.676 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 (2): * Single equations (assignments): 2 * 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.0001551/1.175, allocations: 105.3 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/1.175, allocations: 14.31 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.175, allocations: 3.875 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/1.175, allocations: 12.06 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/1.176, allocations: 3.984 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/1.176, allocations: 67.25 kB / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/1.176, allocations: 0.6807 MB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.499e-05/1.176, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/1.176, allocations: 7.438 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.176, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of Templates: time 0.002643/1.179, allocations: 456.1 kB / 1.018 GB, free: 1.309 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Polynominal.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches