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.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.887 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.001225/0.001225, allocations: 176.9 kB / 316.3 MB, free: 3.266 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.929/1.929, 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.0009222/0.0009224, allocations: 91.64 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.421e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2556, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8645/1.12, allocations: 132.8 MB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.12, allocations: 82.5 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009636/1.13, allocations: 3.179 MB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.684e-06/1.13, allocations: 3.938 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.13, allocations: 0 / 1.018 GB, free: 2.199 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004099/1.131, allocations: 423.6 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.131, allocations: 8.031 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/1.131, allocations: 7.906 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.131, allocations: 174.9 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.131, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.131, allocations: 4 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/1.131, allocations: 63.14 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/1.131, allocations: 96.33 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.131, allocations: 3.938 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/1.131, allocations: 3.938 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/1.131, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/1.131, allocations: 156.1 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.132, allocations: 76.61 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/1.132, allocations: 67.58 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/1.132, allocations: 4 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.132, allocations: 34.56 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/1.132, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003366/1.132, allocations: 159.9 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.132, allocations: 81.05 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.132, allocations: 128.1 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.132, allocations: 25.7 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/1.132, allocations: 100 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/1.132, allocations: 9.906 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/1.132, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.132, allocations: 314 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.133, allocations: 100.8 kB / 1.02 GB, free: 64 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/1.133, allocations: 96.19 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/1.133, allocations: 98.38 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.133, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003416/1.133, allocations: 253.8 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/1.133, allocations: 75.12 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.133, allocations: 4.062 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.133, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-06/1.133, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.133, allocations: 3.938 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/1.133, allocations: 15.84 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.133, allocations: 8 kB / 1.021 GB, free: 15.55 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: 1 (i) * Number of discrete 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.0001059/1.134, allocations: 142.5 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/1.134, allocations: 11.86 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/1.134, allocations: 12.34 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/1.134, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.134, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.134, allocations: 3.984 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/1.134, allocations: 148.6 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.134, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/1.134, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.134, allocations: 4 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.134, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.134, allocations: 7.953 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.134, allocations: 3.984 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/1.134, allocations: 189.1 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/1.134, allocations: 85.02 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/1.134, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/1.134, allocations: 10.86 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/1.134, allocations: 7.953 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.134, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.127e-05/1.134, allocations: 107.8 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.613e-06/1.134, allocations: 4.031 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002823/1.135, allocations: 79.19 kB / 1.021 GB, free: 14.69 MB / 0.6511 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) * 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.0003065/1.135, allocations: 159.1 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003838/1.135, allocations: 351.6 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.135, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/1.136, allocations: 140 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/1.136, allocations: 6.578 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/1.136, allocations: 155.2 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/1.136, allocations: 0.6924 MB / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.901e-06/1.136, allocations: 0 / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/1.136, allocations: 11.42 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.136, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.004105/1.14, allocations: 1.733 MB / 1.024 GB, free: 11.47 MB / 0.6511 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