Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00105/0.00105, allocations: 177.8 kB / 326.5 MB, free: 2.246 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.681/1.681, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008868/0.0008868, allocations: 101.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 9.75 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.3676, allocations: 132.6 MB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.368, allocations: 91.92 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009718/0.3777, allocations: 3.189 MB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3778, allocations: 7.938 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3778, allocations: 0 / 1.033 GB, free: 7.922 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004176/0.3782, allocations: 446.4 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3783, allocations: 12.03 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.3783, allocations: 7.906 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3784, allocations: 178.9 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3784, allocations: 0 / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3785, allocations: 4 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3786, allocations: 97.58 kB / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3787, allocations: 0 / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3787, allocations: 0 / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3787, allocations: 0 / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.3788, allocations: 63.95 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.379, allocations: 181.6 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3791, allocations: 82.47 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.3791, allocations: 0 / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3791, allocations: 30.56 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3791, allocations: 0 / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004227/0.3796, allocations: 332.5 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3796, allocations: 89.08 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.3797, allocations: 125.2 kB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3798, allocations: 29.7 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.3798, allocations: 92.03 kB / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3798, allocations: 15.84 kB / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.3799, allocations: 0 / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.38, allocations: 322.8 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3801, allocations: 91.94 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3802, allocations: 103.9 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3804, allocations: 163.3 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3804, allocations: 0 / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00033/0.3807, allocations: 320.8 kB / 1.035 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.3808, allocations: 70.36 kB / 1.035 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3808, allocations: 0 / 1.035 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3808, allocations: 3.938 kB / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/0.3808, allocations: 0 / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3808, allocations: 3.938 kB / 1.035 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.3809, allocations: 11.91 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.3809, allocations: 7.984 kB / 1.036 GB, free: 4.805 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001086/0.381, allocations: 161.3 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.3811, allocations: 11.86 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.3811, allocations: 8.25 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3811, allocations: 0 / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3811, allocations: 7.938 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3811, allocations: 0 / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3812, allocations: 173.6 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3813, allocations: 0 / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3813, allocations: 0 / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3813, allocations: 7.953 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3813, allocations: 4 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3813, allocations: 0 / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3813, allocations: 0 / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.3816, allocations: 222.6 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3816, allocations: 85.02 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3816, allocations: 11.88 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.3817, allocations: 8.031 kB / 1.036 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.3818, allocations: 11.98 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3818, allocations: 4 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.783e-05/0.3819, allocations: 103.3 kB / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3819, allocations: 0 / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003023/0.3822, allocations: 75.91 kB / 1.036 GB, free: 3.82 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002746/0.3825, allocations: 159.1 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.3829, allocations: 362.6 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3829, allocations: 4.062 kB / 1.037 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.383, allocations: 135.3 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.836e-05/0.3831, allocations: 8 kB / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.3835, allocations: 215.3 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.3837, allocations: 0.6926 MB / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.914e-06/0.3837, allocations: 8.062 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-06/0.3838, allocations: 7.438 kB / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.3838, allocations: 0 / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of Templates: time 0.004028/0.3878, allocations: 1.822 MB / 1.04 GB, free: 336 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches