Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.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.039/2.039, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001061/0.001061, allocations: 188.8 kB / 487.4 MB, free: 5.043 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.368/1.368, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008676, allocations: 87.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.176e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.772/0.9875, allocations: 148.5 MB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.9878, allocations: 70.98 kB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00262/0.9904, allocations: 0.7824 MB / 1.352 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9904, allocations: 0 / 1.352 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9904, allocations: 1.344 kB / 1.352 GB, free: 34.01 MB / 0.8386 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.000275/0.9907, allocations: 335.1 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9907, allocations: 9.031 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.9908, allocations: 7.812 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.726e-05/0.9908, allocations: 168.5 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.9909, allocations: 1.312 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.9909, allocations: 1.344 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.999e-05/0.991, allocations: 12.58 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.269e-05/0.991, allocations: 43.03 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.991, allocations: 4 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.9911, allocations: 0.6562 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.9911, allocations: 1.344 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.9914, allocations: 255.1 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.704e-05/0.9915, allocations: 26.53 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.9915, allocations: 18.17 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.9915, allocations: 1.891 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.9915, allocations: 32.55 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9915, allocations: 3.938 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000165/0.9917, allocations: 43.12 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.473e-05/0.9917, allocations: 53.41 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/0.9918, allocations: 97.72 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.9918, allocations: 31.27 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.9919, allocations: 86.67 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.9919, allocations: 9.156 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.9919, allocations: 0 / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.992, allocations: 321.5 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.992, allocations: 3.781 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.992, allocations: 9.297 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.9921, allocations: 5.938 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.9921, allocations: 4.062 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.136e-05/0.9922, allocations: 56.62 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.9922, allocations: 6.703 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.9922, allocations: 0 / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.9922, allocations: 1.25 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.9923, allocations: 10.98 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.9923, allocations: 2.672 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.9924, allocations: 8.781 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.9924, allocations: 4.594 kB / 1.353 GB, free: 32.44 MB / 0.8386 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.22e-05/0.9925, allocations: 106.7 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.9925, allocations: 5.281 kB / 1.354 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.9926, allocations: 55.78 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9926, allocations: 1.25 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9926, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9926, allocations: 8.828 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.9927, allocations: 137.4 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9928, allocations: 7.984 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.9928, allocations: 16.28 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9928, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.9928, allocations: 5.25 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9929, allocations: 0.6562 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9929, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.993, allocations: 149.2 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.993, allocations: 82.83 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.993, allocations: 1.891 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.9931, allocations: 7.531 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.9932, allocations: 2.656 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.9932, allocations: 1.844 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.9932, allocations: 85.47 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9932, allocations: 0 / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002173/0.9934, allocations: 7.906 kB / 1.354 GB, free: 31.8 MB / 0.8386 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.0001374/0.9936, allocations: 106.8 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.855e-05/0.9937, allocations: 19.33 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.9937, allocations: 0 / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.9937, allocations: 11.12 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.9938, allocations: 1.25 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.994, allocations: 63.8 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.9942, allocations: 0.6854 MB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.9943, allocations: 3.297 kB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.9943, allocations: 7.438 kB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.9943, allocations: 1.312 kB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.001971/0.9963, allocations: 445.7 kB / 1.355 GB, free: 30.88 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches