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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.317/1.317, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 177.9 kB / 326.5 MB, free: 2.258 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.804/1.804, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008119/0.000812, allocations: 93.11 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003442, allocations: 12.56 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.3996, allocations: 131.7 MB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.3999, allocations: 75.95 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002601/0.4025, allocations: 0.7779 MB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4025, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.4026, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 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.0004561/0.403, allocations: 351.2 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4031, allocations: 8.031 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.4031, allocations: 11.84 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4033, allocations: 171 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4033, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.4033, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4035, allocations: 61.67 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4036, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4036, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4036, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.4038, allocations: 51.95 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.4043, allocations: 272.8 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4044, allocations: 50.55 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.4045, allocations: 8.062 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4045, allocations: 30.56 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.4045, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.4049, allocations: 105.7 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.4049, allocations: 55.41 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.405, allocations: 101 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.405, allocations: 25.7 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.4051, allocations: 88.08 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.4051, allocations: 7.906 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.4051, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4053, allocations: 322.8 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.4054, allocations: 23.98 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.4055, allocations: 19.98 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.4056, allocations: 32.03 kB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4056, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001983/0.4058, allocations: 85.5 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4058, allocations: 7.938 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4058, allocations: 4.031 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4058, allocations: 3.938 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.4059, allocations: 11.98 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.406, allocations: 4 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.406, allocations: 8 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.406, allocations: 3.984 kB / 1.031 GB, free: 9.168 MB / 0.6823 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 0.0001029/0.4061, allocations: 117.8 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.4062, allocations: 0 / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4064, allocations: 85.19 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4064, allocations: 3.984 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4064, allocations: 0 / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4065, allocations: 8.031 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.4066, allocations: 157.6 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4066, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.4067, allocations: 15.92 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4067, allocations: 256 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.4067, allocations: 4 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.4067, allocations: 4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4067, allocations: 0 / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.407, allocations: 187.4 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.4071, allocations: 81.09 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4071, allocations: 4 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.4072, allocations: 16.02 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4072, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4072, allocations: 4 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.018e-05/0.4073, allocations: 83.28 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4073, allocations: 0 / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002081/0.4075, allocations: 11.98 kB / 1.032 GB, free: 8.301 MB / 0.6823 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.0001968/0.4077, allocations: 103.2 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.4079, allocations: 55.89 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.408, allocations: 0 / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.4081, allocations: 23.98 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.4083, allocations: 17.56 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.4086, allocations: 120.6 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4089, allocations: 0.677 MB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.409, allocations: 4 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.409, allocations: 7.438 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of SimCode: time 1.9e-07/0.409, allocations: 0 / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of Templates: time 0.002455/0.4115, allocations: 469 kB / 1.034 GB, free: 6.777 MB / 0.6823 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