Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 192.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.98 kB / 0.8986 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2883, allocations: 157.4 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001707/0.2901, allocations: 0.6775 MB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2918, allocations: 1.404 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.2918, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.831e-05/0.2919, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.667e-05/0.2919, allocations: 4 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.2925, allocations: 162.5 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.2926, allocations: 47.95 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2926, allocations: 8 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.2927, allocations: 19.92 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.2927, allocations: 23.97 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2927, allocations: 0 / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.293, allocations: 203.7 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.2931, allocations: 11.94 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.2932, allocations: 19.86 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.2934, allocations: 187.9 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2934, allocations: 4 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2934, allocations: 3.938 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2934, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 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.000424/0.2939, allocations: 446.6 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2939, allocations: 12.62 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.294, allocations: 8.844 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2941, allocations: 177.2 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2941, allocations: 384 / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2941, allocations: 8.359 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2943, allocations: 97.95 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2943, allocations: 0 / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2943, allocations: 4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2944, allocations: 0 / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.232e-05/0.2945, allocations: 59.95 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.2946, allocations: 177.6 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2947, allocations: 78.53 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.2948, allocations: 76.86 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.2948, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2949, allocations: 38.5 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2949, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003983/0.2953, allocations: 255.1 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2953, allocations: 85.11 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2955, allocations: 147 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2955, allocations: 25.7 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.2956, allocations: 96.03 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2956, allocations: 3.906 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.2956, allocations: 29.72 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2958, allocations: 326.9 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2959, allocations: 99.94 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.296, allocations: 103.9 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.2963, allocations: 274 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2963, allocations: 8 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003466/0.2966, allocations: 332.6 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.2967, allocations: 69.11 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2967, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2967, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2967, allocations: 4.062 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.2969, allocations: 19.83 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2969, allocations: 7.938 kB / 1.058 GB, free: 2.652 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.2971, allocations: 149.1 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2971, allocations: 11.84 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.2971, allocations: 8.25 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2971, allocations: 0 / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2971, allocations: 4 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2971, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2972, allocations: 173.6 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2973, allocations: 0 / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-06/0.2973, allocations: 3.938 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2973, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2973, allocations: 4 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2973, allocations: 3.984 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2973, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.2976, allocations: 230.6 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.2976, allocations: 92.94 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2976, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.2977, allocations: 7.938 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.2978, allocations: 7.984 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2978, allocations: 0 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.2978, allocations: 107.2 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2978, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002709/0.2981, allocations: 64 kB / 1.059 GB, free: 1.688 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002636/0.2984, allocations: 155.2 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.2988, allocations: 366.7 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2988, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2989, allocations: 143.3 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2991, allocations: 7.109 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2994, allocations: 229.6 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.2997, allocations: 0.6924 MB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.044e-06/0.2997, allocations: 0 / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.2997, allocations: 11.38 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2997, allocations: 0 / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of Templates: time 0.00433/0.304, allocations: 1.981 MB / 1.062 GB, free: 14.03 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches