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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 189.8 kB / 0.4902 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99.83 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3941, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/0.6414, allocations: 150.1 MB / 1.376 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.6418, allocations: 83.94 kB / 1.376 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002926/0.6447, allocations: 0.7662 MB / 1.377 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.637e-06/0.6447, allocations: 4 kB / 1.377 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6448, allocations: 0 / 1.377 GB, free: 2.676 MB / 0.8698 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.0004478/0.6452, allocations: 347.2 kB / 1.377 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6453, allocations: 8.562 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.6453, allocations: 4 kB / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.6455, allocations: 167 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6455, allocations: 7.984 kB / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.6455, allocations: 4 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.6457, allocations: 61.59 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6458, allocations: 0 / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.6458, allocations: 4 kB / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6458, allocations: 0 / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.646, allocations: 51.95 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.6465, allocations: 269.8 kB / 1.377 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.6466, allocations: 54.5 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.6467, allocations: 0 / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6467, allocations: 38.61 kB / 1.378 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6467, allocations: 0 / 1.378 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004001/0.6471, allocations: 105.5 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6472, allocations: 51.41 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.6473, allocations: 105 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6473, allocations: 25.7 kB / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.6474, allocations: 88.2 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.6474, allocations: 15.84 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.6474, allocations: 0 / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6476, allocations: 318.7 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.6477, allocations: 27.97 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.6478, allocations: 23.98 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.6479, allocations: 19.98 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6479, allocations: 0 / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002166/0.6481, allocations: 81.72 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6482, allocations: 11.98 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6482, allocations: 0 / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6482, allocations: 3.938 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.6483, allocations: 8 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6483, allocations: 0 / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.6484, allocations: 20.02 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.6484, allocations: 0 / 1.378 GB, free: 0.582 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.6485, allocations: 109.8 kB / 1.379 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.6485, allocations: 7.938 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.6488, allocations: 93.17 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.6488, allocations: 0 / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6488, allocations: 0 / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6488, allocations: 0 / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.649, allocations: 169.5 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.649, allocations: 0 / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.6491, allocations: 11.98 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6491, allocations: 0 / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.6491, allocations: 4 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6491, allocations: 4.031 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6491, allocations: 0 / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.6494, allocations: 175.5 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.6494, allocations: 89.08 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.6495, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.6496, allocations: 7.984 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.6496, allocations: 4 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.6496, allocations: 3.984 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.6497, allocations: 87.53 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6497, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002187/0.6499, allocations: 12 kB / 1.379 GB, free: 15.72 MB / 0.8855 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 (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.0001787/0.6501, allocations: 104 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.6504, allocations: 47.95 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6504, allocations: 0 / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.6505, allocations: 35.98 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.6506, allocations: 11.88 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.651, allocations: 120.8 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.6513, allocations: 0.6809 MB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.6513, allocations: 4.062 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.6514, allocations: 7.438 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of SimCode: time 2.91e-07/0.6514, allocations: 0 / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.002638/0.654, allocations: 457.9 kB / 1.381 GB, free: 14.21 MB / 0.8855 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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches