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.454/1.454, allocations: 249.3 MB / 261.9 MB, free: 5.941 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.0009034/0.0009034, allocations: 176.9 kB / 321.3 MB, free: 14.64 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.417/1.417, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009136/0.0009135, allocations: 83.23 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.405e-05/6.408e-05, allocations: 8 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2181, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7181/0.9363, allocations: 132.5 MB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.9366, allocations: 86.59 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009339/0.9459, allocations: 3.186 MB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.283e-06/0.946, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.946, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 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.0003791/0.9464, allocations: 420.8 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9464, allocations: 12.03 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.9465, allocations: 3.906 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.9466, allocations: 176.5 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.9466, allocations: 0 / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.9466, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.9468, allocations: 101 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.9468, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9469, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9469, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.947, allocations: 66.77 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.9471, allocations: 180.7 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.9473, allocations: 76.98 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.345e-05/0.9473, allocations: 72.14 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.9474, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.9474, allocations: 38.44 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.9474, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.9477, allocations: 193.5 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.9478, allocations: 81.09 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.9479, allocations: 129 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.9479, allocations: 25.7 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.948, allocations: 103.7 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.948, allocations: 3.906 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.948, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9481, allocations: 321.3 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.9483, allocations: 94.06 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.9484, allocations: 101 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.9485, allocations: 162.3 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.9485, allocations: 3.953 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003335/0.9489, allocations: 308.7 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.9489, allocations: 71.44 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.949, allocations: 4 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.949, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.604e-06/0.949, allocations: 4 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.949, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.9491, allocations: 19.78 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.9491, allocations: 8 kB / 1.027 GB, free: 12.54 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 8.649e-05/0.9492, allocations: 140 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.9492, allocations: 11.86 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.9493, allocations: 12.03 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.9493, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.9493, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.9493, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.9494, allocations: 172.6 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9494, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-06/0.9494, allocations: 3.953 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9494, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.9494, allocations: 4 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9494, allocations: 3.938 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9494, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.9497, allocations: 232.2 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.9498, allocations: 81.02 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.9498, allocations: 7.953 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.9498, allocations: 7.984 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.9499, allocations: 4 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.95, allocations: 3.984 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.354e-05/0.95, allocations: 109 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.95, allocations: 7.969 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002928/0.9503, allocations: 75.69 kB / 1.028 GB, free: 11.62 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.0002962/0.9506, allocations: 159.1 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.951, allocations: 363.2 kB / 1.028 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.951, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.9512, allocations: 137.1 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.9513, allocations: 7.812 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.9516, allocations: 160.8 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.9518, allocations: 0.6965 MB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.661e-06/0.9519, allocations: 0 / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.9519, allocations: 7.438 kB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.9519, allocations: 0 / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.004618/0.9565, allocations: 1.858 MB / 1.031 GB, free: 8.25 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