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.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.001527/0.001527, allocations: 188.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0009732/0.0009728, allocations: 86.52 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.396e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.262, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8319/1.094, allocations: 130.9 MB / 1.02 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/1.094, allocations: 79.75 kB / 1.02 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009912/1.095, allocations: 489.9 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.095, allocations: 4 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.03e-06/1.095, allocations: 0 / 1.02 GB, free: 3.328 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.0002432/1.096, allocations: 306.4 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.096, allocations: 12.09 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/1.096, allocations: 3.375 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.096, allocations: 163 kB / 1.021 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.096, allocations: 3.125 kB / 1.021 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/1.096, allocations: 3.984 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/1.096, allocations: 33.69 kB / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/1.096, allocations: 3.938 kB / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/1.096, allocations: 0 / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/1.096, allocations: 0 / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/1.096, allocations: 7.938 kB / 1.021 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/1.096, allocations: 152.6 kB / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.369e-05/1.096, allocations: 17.31 kB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/1.096, allocations: 12.14 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/1.096, allocations: 0 / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.096, allocations: 34.55 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/1.096, allocations: 0 / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/1.096, allocations: 37.64 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.096, allocations: 51.41 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.707e-05/1.096, allocations: 89 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/1.096, allocations: 25.7 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/1.097, allocations: 80.14 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.097, allocations: 2.312 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/1.097, allocations: 0 / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.097, allocations: 310.8 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-06/1.097, allocations: 4.031 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/1.097, allocations: 4 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.772e-05/1.097, allocations: 3.984 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/1.097, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.143e-05/1.097, allocations: 40.72 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.097, allocations: 4 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.097, allocations: 0.9375 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/1.097, allocations: 0 / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/1.097, allocations: 7.938 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.097, allocations: 4.094 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/1.097, allocations: 3.938 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/1.097, allocations: 0 / 1.022 GB, free: 1.746 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 6.028e-05/1.097, allocations: 112.9 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/1.097, allocations: 3.953 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/1.097, allocations: 39.84 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.097, allocations: 4.031 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.097, allocations: 0 / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.097, allocations: 4 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.182e-05/1.097, allocations: 145.7 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/1.097, allocations: 0 / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/1.097, allocations: 0 / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.097, allocations: 7.953 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/1.097, allocations: 0.875 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.097, allocations: 0 / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.097, allocations: 7.875 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.368e-05/1.097, allocations: 64.94 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/1.097, allocations: 77.11 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/1.097, allocations: 3.953 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/1.097, allocations: 3.625 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/1.097, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.097, allocations: 4 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.935e-05/1.098, allocations: 75.28 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 4.031 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001854/1.098, allocations: 7.984 kB / 1.022 GB, free: 1.102 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.0001776/1.098, allocations: 103.2 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.575e-05/1.098, allocations: 11.44 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.098, allocations: 0 / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.805e-06/1.098, allocations: 4 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.381e-05/1.098, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001544/1.098, allocations: 53.61 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/1.098, allocations: 0.6731 MB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.421e-05/1.099, allocations: 0 / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/1.099, allocations: 7.438 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of SimCode: time 3.2e-07/1.099, allocations: 0 / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of Templates: time 0.002036/1.101, allocations: 299.8 kB / 1.023 GB, free: 15.92 MB / 0.6511 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