Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 173.1 kB / 498.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009146/0.0009146, allocations: 100.3 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004223, allocations: 10.25 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.5373, allocations: 150.1 MB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5377, allocations: 87.94 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009878/0.5476, allocations: 3.227 MB / 1.373 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5477, allocations: 0 / 1.373 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5477, allocations: 4 kB / 1.373 GB, free: 8.602 MB / 0.8698 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.0004659/0.5482, allocations: 446.4 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5482, allocations: 8.031 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.5483, allocations: 7.906 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5484, allocations: 172.4 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5484, allocations: 0 / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.5485, allocations: 4 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.5487, allocations: 97.58 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5487, allocations: 3.938 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5487, allocations: 4 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5487, allocations: 0 / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.5488, allocations: 63.94 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.549, allocations: 181.5 kB / 1.374 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5491, allocations: 82.53 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.5491, allocations: 4.031 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5492, allocations: 34.5 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5492, allocations: 4 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004875/0.5497, allocations: 328.3 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.5498, allocations: 77.11 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5499, allocations: 134.5 kB / 1.374 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5499, allocations: 29.7 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.55, allocations: 92.12 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.55, allocations: 7.812 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.55, allocations: 0 / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5502, allocations: 326.9 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.5503, allocations: 99.92 kB / 1.375 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.5504, allocations: 95.94 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.5506, allocations: 171.2 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5506, allocations: 0 / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003512/0.551, allocations: 308.8 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.551, allocations: 71.39 kB / 1.375 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5511, allocations: 0 / 1.375 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5511, allocations: 4.125 kB / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.5511, allocations: 0 / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5511, allocations: 4.062 kB / 1.375 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.5512, allocations: 15.84 kB / 1.375 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.5512, allocations: 7.984 kB / 1.375 GB, free: 5.484 MB / 0.8698 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.0001248/0.5513, allocations: 157.2 kB / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.5514, allocations: 4 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.5514, allocations: 12.23 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5514, allocations: 0 / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5514, allocations: 4 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5514, allocations: 0 / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.5516, allocations: 181.5 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5516, allocations: 3.953 kB / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.5516, allocations: 0 / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5516, allocations: 0 / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.5516, allocations: 4 kB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5516, allocations: 3.938 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5516, allocations: 0 / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.5519, allocations: 222.7 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.5519, allocations: 93 kB / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.552, allocations: 0 / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.552, allocations: 4 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.5521, allocations: 11.98 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5521, allocations: 4 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.982e-05/0.5522, allocations: 105.6 kB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5522, allocations: 0 / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003171/0.5525, allocations: 71.94 kB / 1.376 GB, free: 4.516 MB / 0.8698 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.0003045/0.5528, allocations: 170.9 kB / 1.376 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.5532, allocations: 366.6 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5533, allocations: 4 kB / 1.377 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5534, allocations: 131.3 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.5535, allocations: 15.98 kB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.5539, allocations: 215.5 kB / 1.377 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5542, allocations: 0.6926 MB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.262e-06/0.5542, allocations: 0 / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.007e-05/0.5543, allocations: 7.438 kB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/0.5543, allocations: 0 / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of Templates: time 0.004505/0.5588, allocations: 1.809 MB / 1.38 GB, free: 1.02 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches