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.632/1.632, allocations: 249.3 MB / 261.8 MB, free: 5.992 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.001313/0.001313, allocations: 166.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001034/0.001034, allocations: 96.02 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.485e-05/5.519e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7789/1.03, allocations: 131.3 MB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.031, allocations: 80.62 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003884/1.035, allocations: 1.239 MB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/1.035, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.035, allocations: 0 / 1.021 GB, free: 2.242 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.0004029/1.035, allocations: 362 kB / 1.022 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.035, allocations: 8.031 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/1.035, allocations: 7.906 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/1.035, allocations: 174.6 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/1.036, allocations: 3.984 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.036, allocations: 4 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/1.036, allocations: 48.98 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.036, allocations: 0 / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.036, allocations: 3.438 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.036, allocations: 4 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/1.036, allocations: 12 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/1.036, allocations: 259.2 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/1.036, allocations: 37.94 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/1.036, allocations: 20.23 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/1.036, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.036, allocations: 38.56 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/1.036, allocations: 0 / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.01608/1.052, allocations: 1.133 MB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.053, allocations: 55.41 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/1.053, allocations: 104.8 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/1.053, allocations: 32.44 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/1.053, allocations: 91.55 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/1.053, allocations: 19.47 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/1.053, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.053, allocations: 322 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/1.053, allocations: 113.5 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/1.054, allocations: 114.3 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/1.054, allocations: 126.4 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/1.054, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009647/1.055, allocations: 275.3 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.055, allocations: 5.719 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.055, allocations: 0 / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.055, allocations: 7.938 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.057, allocations: 67.92 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.057, allocations: 7.953 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.058, allocations: 47.95 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/1.058, allocations: 7.984 kB / 1.025 GB, free: 14.89 MB / 0.6511 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.000175/1.058, allocations: 103.7 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/1.058, allocations: 4 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/1.059, allocations: 19.31 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.059, allocations: 4 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.059, allocations: 7.938 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.059, allocations: 3.953 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/1.064, allocations: 0.8069 MB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.064, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.065, allocations: 63.89 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/1.065, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.065, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.065, allocations: 4.062 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.065, allocations: 0 / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/1.066, allocations: 297.6 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/1.066, allocations: 81.11 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/1.066, allocations: 7.906 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.067, allocations: 47.94 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/1.067, allocations: 7.984 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/1.067, allocations: 8.812 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.356e-05/1.067, allocations: 90.47 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.067, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000441/1.068, allocations: 107.9 kB / 1.026 GB, free: 13.21 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.0003188/1.068, allocations: 123.1 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007294/1.069, allocations: 193.5 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.069, allocations: 4 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/1.069, allocations: 69.67 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/1.069, allocations: 7.703 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/1.072, allocations: 255.2 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/1.072, allocations: 0.6887 MB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004958/1.073, allocations: 60.47 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/1.073, allocations: 11.44 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/1.073, allocations: 3.938 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of Templates: time 0.01225/1.085, allocations: 8.029 MB / 1.036 GB, free: 3.773 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