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.207/2.207, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001008/0.001008, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.466/1.466, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008987/0.0008986, allocations: 87.97 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.235e-05/5.238e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3202, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.453, allocations: 150 MB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.454, allocations: 80.83 kB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01355/1.467, allocations: 3.212 MB / 1.362 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.519e-06/1.468, allocations: 1.547 kB / 1.362 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.468, allocations: 3.812 kB / 1.362 GB, free: 34.69 MB / 0.8386 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.0006656/1.468, allocations: 424.2 kB / 1.363 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/1.468, allocations: 11.69 kB / 1.363 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/1.468, allocations: 14.06 kB / 1.363 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.469, allocations: 168.4 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.469, allocations: 4 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/1.469, allocations: 3.844 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/1.469, allocations: 97.94 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.469, allocations: 0 / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/1.469, allocations: 0 / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.469, allocations: 3.938 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/1.469, allocations: 61.31 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/1.469, allocations: 185.9 kB / 1.363 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/1.469, allocations: 82.81 kB / 1.363 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.47, allocations: 65.39 kB / 1.363 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/1.47, allocations: 3.938 kB / 1.363 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/1.47, allocations: 31.88 kB / 1.363 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/1.47, allocations: 3.875 kB / 1.363 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003967/1.47, allocations: 182.7 kB / 1.363 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.47, allocations: 82.62 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/1.47, allocations: 135.3 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/1.47, allocations: 29.58 kB / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/1.47, allocations: 92.42 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/1.47, allocations: 16.62 kB / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/1.47, allocations: 0 / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.471, allocations: 321.6 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/1.471, allocations: 97.66 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/1.471, allocations: 98.27 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/1.471, allocations: 154.8 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.471, allocations: 11.8 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004371/1.472, allocations: 310.1 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/1.472, allocations: 71.62 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.472, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.472, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/1.472, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/1.472, allocations: 3.812 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.472, allocations: 9.172 kB / 1.365 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.472, allocations: 9.156 kB / 1.365 GB, free: 32.79 MB / 0.8386 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.0001113/1.472, allocations: 143.7 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/1.472, allocations: 11.77 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/1.472, allocations: 5.156 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.472, allocations: 0 / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.472, allocations: 1.125 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.472, allocations: 0 / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/1.472, allocations: 170.2 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.472, allocations: 3.969 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/1.472, allocations: 6.328 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.472, allocations: 1.5 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.472, allocations: 7.875 kB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.472, allocations: 4 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.472, allocations: 3.875 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/1.473, allocations: 222.2 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/1.473, allocations: 95.55 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/1.473, allocations: 3.953 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/1.473, allocations: 3.969 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/1.473, allocations: 10.27 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.473, allocations: 7.844 kB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001156/1.473, allocations: 108 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.6e-07/1.473, allocations: 0 / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005044/1.474, allocations: 72.81 kB / 1.366 GB, free: 32.14 MB / 0.8386 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.0004456/1.474, allocations: 167 kB / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004554/1.474, allocations: 364.1 kB / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.474, allocations: 0 / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/1.475, allocations: 137.2 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.475, allocations: 10.98 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/1.475, allocations: 153 kB / 1.366 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.476, allocations: 0.6952 MB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.267e-06/1.476, allocations: 0 / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/1.476, allocations: 11.38 kB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.476, allocations: 0 / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.005691/1.481, allocations: 1.852 MB / 1.369 GB, free: 30.91 MB / 0.8386 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