Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.5 MB / 257 MB, free: 6.93 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.001573/0.001573, allocations: 179.8 kB / 316.3 MB, free: 3.238 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.756/1.756, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.00111/0.00111, allocations: 97.34 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.072e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7488/0.9624, allocations: 131.6 MB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.9626, allocations: 78.44 kB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003916/0.9666, allocations: 1.238 MB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9666, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.9666, allocations: 0 / 1.015 GB, free: 5.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004642/0.9671, allocations: 362 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.9672, allocations: 8.031 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.9672, allocations: 7.906 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.9674, allocations: 175 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.9675, allocations: 2.188 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.9675, allocations: 4 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.9676, allocations: 10.88 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.9677, allocations: 40.75 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.9678, allocations: 7.875 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.9678, allocations: 4 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.9678, allocations: 4 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.9682, allocations: 229.3 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.9683, allocations: 34.14 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.9684, allocations: 12.23 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.9684, allocations: 7.984 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.9684, allocations: 38.64 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.937e-06/0.9685, allocations: 0 / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.01639/0.9848, allocations: 1.211 MB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.9849, allocations: 51.41 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.9851, allocations: 108.8 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.9851, allocations: 29.7 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.9852, allocations: 91.86 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.9853, allocations: 23.52 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.9854, allocations: 3.938 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9855, allocations: 314.7 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.9858, allocations: 113.6 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.9861, allocations: 118.7 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.9867, allocations: 154.8 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9867, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001089/0.9878, allocations: 329.2 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9879, allocations: 4.094 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.9879, allocations: 7.922 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9879, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.9895, allocations: 67.94 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9895, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.9908, allocations: 59.89 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.9909, allocations: 3.5 kB / 1.019 GB, free: 1.699 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 (9): * Single equations (assignments): 9 * 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.0001782/0.9911, allocations: 105 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.9912, allocations: 4 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.9913, allocations: 28.48 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.9913, allocations: 0 / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9913, allocations: 7.875 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9913, allocations: 0 / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005634/0.997, allocations: 0.8167 MB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.997, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.9981, allocations: 64 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.9981, allocations: 0 / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.9982, allocations: 4 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.9982, allocations: 3.953 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9982, allocations: 0 / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009521/0.9992, allocations: 342.9 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.9992, allocations: 88.75 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.9993, allocations: 3.984 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1, allocations: 43.95 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/1, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/1, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.82e-05/1.001, allocations: 95.2 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 0 / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004582/1.001, allocations: 99.98 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002763/1.001, allocations: 126.1 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006066/1.002, allocations: 186 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.002, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/1.002, allocations: 67.78 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/1.002, allocations: 12.06 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/1.005, allocations: 236.1 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.005, allocations: 0.7001 MB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005046/1.006, allocations: 48 kB / 1.021 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/1.006, allocations: 19.42 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.006, allocations: 0 / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of Templates: time 0.01115/1.017, allocations: 7.364 MB / 1.029 GB, free: 7.215 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches