Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001205/0.001205, allocations: 181.1 kB / 498.1 MB, free: 5.738 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.475/1.475, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001031/0.001031, allocations: 104.3 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 10.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3108, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.4897, allocations: 148.5 MB / 1.368 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4899, allocations: 71.95 kB / 1.368 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000992/0.4909, allocations: 485.2 kB / 1.368 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.865e-06/0.491, allocations: 0 / 1.368 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.491, allocations: 0 / 1.368 GB, free: 13.01 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003/0.4913, allocations: 311.6 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4913, allocations: 12.09 kB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.4914, allocations: 0 / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4915, allocations: 167 kB / 1.369 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4915, allocations: 7.938 kB / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.4915, allocations: 0 / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4917, allocations: 29.7 kB / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4917, allocations: 0 / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4917, allocations: 0 / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4917, allocations: 0 / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.4917, allocations: 7.969 kB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.4919, allocations: 153.6 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.751e-05/0.492, allocations: 26.52 kB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.492, allocations: 8.078 kB / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4921, allocations: 33.3 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4921, allocations: 0 / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.4922, allocations: 33.69 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.4923, allocations: 51.41 kB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.4923, allocations: 85.12 kB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4924, allocations: 33.7 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.4924, allocations: 80.14 kB / 1.369 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.4925, allocations: 3.906 kB / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.4925, allocations: 3.938 kB / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4926, allocations: 314.8 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.4927, allocations: 3.938 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.4927, allocations: 4 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/0.4927, allocations: 0 / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4927, allocations: 8.016 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.472e-05/0.4928, allocations: 37.69 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4928, allocations: 4 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4928, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4928, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.4929, allocations: 4 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4929, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.4929, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4929, allocations: 0 / 1.37 GB, free: 11.41 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 (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 7.431e-05/0.493, allocations: 110.6 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.493, allocations: 7.953 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.4931, allocations: 44.75 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4932, allocations: 0 / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4932, allocations: 0 / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4932, allocations: 0 / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.515e-05/0.4933, allocations: 149.7 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4933, allocations: 4.031 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.4933, allocations: 3.953 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4933, allocations: 0 / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4933, allocations: 4 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4933, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4933, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.4934, allocations: 65.06 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.4935, allocations: 81.11 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.4935, allocations: 7.984 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.4935, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.4935, allocations: 3.938 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.4935, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.4936, allocations: 75.28 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4936, allocations: 4 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001955/0.4938, allocations: 11.94 kB / 1.37 GB, free: 10.74 MB / 0.8698 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 (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.0001822/0.494, allocations: 111 kB / 1.37 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.494, allocations: 8 kB / 1.37 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4941, allocations: 0 / 1.37 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.4941, allocations: 4 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.986e-05/0.4942, allocations: 4.719 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.4944, allocations: 78.69 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.4946, allocations: 0.6731 MB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.4947, allocations: 4.125 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.4947, allocations: 11.44 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.4947, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of Templates: time 0.002014/0.4967, allocations: 268.1 kB / 1.371 GB, free: 9.527 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches