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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 7.004 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: 187.6 kB / 316 MB, free: 3.531 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.078/1.078, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0008994/0.0008991, allocations: 86.44 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.675e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5582, allocations: 131.9 MB / 1.013 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5585, allocations: 74.95 kB / 1.013 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002068/0.5605, allocations: 482.1 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5606, allocations: 4 kB / 1.014 GB, free: 6.27 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.0003063/0.5609, allocations: 341.6 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5609, allocations: 12.03 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.561, allocations: 0 / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.5611, allocations: 174.9 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5611, allocations: 0 / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.5611, allocations: 0 / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.34e-05/0.5612, allocations: 15.31 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.242e-05/0.5613, allocations: 40.44 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5613, allocations: 0 / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.5613, allocations: 0 / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5613, allocations: 0 / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.5617, allocations: 256.1 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.5617, allocations: 32.52 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.5618, allocations: 12.3 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.5618, allocations: 7.984 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.5618, allocations: 30.56 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5618, allocations: 4 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.562, allocations: 52.09 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.562, allocations: 51.41 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.5621, allocations: 97.31 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5621, allocations: 25.7 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.5622, allocations: 80.14 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.5622, allocations: 15.72 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.5622, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.5623, allocations: 318.9 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.5623, allocations: 11.12 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.5623, allocations: 4 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.5624, allocations: 7.375 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5624, allocations: 0.75 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.064e-05/0.5625, allocations: 52.72 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.5625, allocations: 4 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.5625, allocations: 0 / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5625, allocations: 96 / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.5626, allocations: 19.98 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.5626, allocations: 0 / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.5627, allocations: 7.984 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5627, allocations: 11.88 kB / 1.016 GB, free: 4.473 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 5.098e-05/0.5628, allocations: 105 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.5628, allocations: 3.906 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.5629, allocations: 68.94 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5629, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5629, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.563, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.5631, allocations: 145.6 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5631, allocations: 0.625 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.5632, allocations: 16.02 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5632, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.5632, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5632, allocations: 256 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5632, allocations: 4 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.5633, allocations: 146.5 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.5634, allocations: 89.06 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.5634, allocations: 7.984 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.5635, allocations: 4 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.5635, allocations: 14.95 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.5635, allocations: 0 / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.281e-05/0.5636, allocations: 82.53 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002026/0.5638, allocations: 8 kB / 1.016 GB, free: 3.73 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.0001318/0.5639, allocations: 107.2 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.263e-05/0.564, allocations: 19.42 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.564, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.564, allocations: 7.562 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.5642, allocations: 4 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.5643, allocations: 67.28 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.5646, allocations: 0.6959 MB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.5646, allocations: 0 / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of Templates: time 0.001955/0.5665, allocations: 0.5064 MB / 1.018 GB, free: 2.289 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