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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001248, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.7 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001993/0.2777, allocations: 0.6243 MB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2796, allocations: 1.396 MB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.2796, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.2797, allocations: 3.938 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.2798, allocations: 3.984 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.2805, allocations: 183.5 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.843e-05/0.2806, allocations: 47.97 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.2806, allocations: 4 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.2807, allocations: 23.91 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.2807, allocations: 19.97 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2808, allocations: 4 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.2811, allocations: 195.7 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.2811, allocations: 11.92 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.2812, allocations: 27.86 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.2815, allocations: 191.8 kB / 1.056 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2815, allocations: 4 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2815, allocations: 0 / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2815, allocations: 0 / 1.056 GB, free: 5.527 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.0004571/0.282, allocations: 434.7 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.282, allocations: 8.625 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.2821, allocations: 42.67 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.2821, allocations: 8.844 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2822, allocations: 172.2 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2823, allocations: 384 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2823, allocations: 4.375 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2825, allocations: 105.8 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2825, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2825, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2825, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.2826, allocations: 63.89 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2828, allocations: 177.6 kB / 1.057 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2829, allocations: 78.53 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.283, allocations: 68.89 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.283, allocations: 4 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.283, allocations: 34.5 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.283, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003842/0.2834, allocations: 259.1 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.2835, allocations: 81.11 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2836, allocations: 147.5 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2836, allocations: 25.7 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.2837, allocations: 96.08 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2837, allocations: 7.906 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.2838, allocations: 29.7 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2839, allocations: 322.8 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.284, allocations: 99.94 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2841, allocations: 99.92 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.2844, allocations: 277.9 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2844, allocations: 4 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003522/0.2848, allocations: 324.9 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.2849, allocations: 79.38 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2849, allocations: 0 / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2849, allocations: 3.984 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.2849, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2849, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2851, allocations: 15.84 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2851, allocations: 4 kB / 1.059 GB, free: 2.215 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.0001067/0.2852, allocations: 151.5 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2852, allocations: 15.84 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.2853, allocations: 12.25 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2853, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2853, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2853, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2854, allocations: 173.6 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2854, allocations: 3.938 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2854, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2854, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2854, allocations: 8 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2854, allocations: 0 / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2855, allocations: 4 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.2857, allocations: 230.6 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2858, allocations: 84.95 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.2858, allocations: 4 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.2859, allocations: 11.92 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.2859, allocations: 8 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2859, allocations: 0 / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.286, allocations: 108.5 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.286, allocations: 4 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003023/0.2863, allocations: 71.98 kB / 1.059 GB, free: 1.23 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.0007019/0.287, allocations: 0.8053 MB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.2874, allocations: 370.6 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2875, allocations: 4.094 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.2876, allocations: 139.3 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.2878, allocations: 6.188 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.2899, allocations: 2.127 MB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2901, allocations: 0.6923 MB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.604e-06/0.2902, allocations: 0 / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2902, allocations: 15.44 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of SimCode: time 1.803e-06/0.2902, allocations: 4.031 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.309, allocations: 3.28 MB / 1.067 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.458, allocations: 13.11 kB / 1.067 GB, free: 9.691 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > 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/jenkins1/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