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.001803/0.001803, 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.002209/0.002209, allocations: 190.9 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.712/2.712, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.674/4.674, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 65.31 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2794, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001791/0.2813, allocations: 0.6953 MB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2829, allocations: 1.388 MB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.2829, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.283, allocations: 3.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.283, allocations: 4 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.2836, allocations: 162.5 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.507e-05/0.2837, allocations: 55.89 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.2838, allocations: 0 / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.2838, allocations: 23.92 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.2839, allocations: 23.95 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2839, allocations: 8 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2842, allocations: 199.7 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.2842, allocations: 11.92 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.2843, allocations: 23.88 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.2845, allocations: 187.8 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2846, allocations: 0 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2846, allocations: 0 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2846, allocations: 0 / 1.055 GB, free: 5.871 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.0003962/0.285, allocations: 438.7 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.285, allocations: 8.625 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.2851, allocations: 46.67 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.2851, allocations: 8.844 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2852, allocations: 180.2 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2852, allocations: 384 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2852, allocations: 4.375 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2854, allocations: 101.8 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2854, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2854, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2854, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.2855, allocations: 59.95 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2857, allocations: 177.7 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2858, allocations: 78.47 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.2859, allocations: 72.89 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2859, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2859, allocations: 38.5 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.2859, allocations: 3.984 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003622/0.2863, allocations: 255.2 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.2864, allocations: 85.14 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2865, allocations: 147.6 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2865, allocations: 29.64 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.2866, allocations: 92.05 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2866, allocations: 7.906 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.2866, allocations: 29.7 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.2867, allocations: 318.8 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2869, allocations: 103.9 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.287, allocations: 103.9 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2872, allocations: 277.8 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2872, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003148/0.2875, allocations: 324.8 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.2876, allocations: 75.38 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2876, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2876, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.2876, allocations: 3.938 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2876, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2878, allocations: 19.91 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2878, allocations: 4 kB / 1.058 GB, free: 2.543 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.0001009/0.2879, allocations: 147.5 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.2879, allocations: 11.84 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.288, allocations: 16.23 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.288, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.288, allocations: 3.938 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.288, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.2881, allocations: 169.6 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2881, allocations: 7.938 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2881, allocations: 0 / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2881, allocations: 0 / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2881, allocations: 8 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2881, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2881, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.2884, allocations: 226.6 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.2884, allocations: 88.89 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2885, allocations: 4 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.2885, allocations: 4.031 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2886, allocations: 7.984 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2886, allocations: 8 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.2886, allocations: 104.7 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2887, allocations: 0 / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002787/0.2889, allocations: 67.98 kB / 1.059 GB, free: 1.574 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.0006412/0.2896, allocations: 0.817 MB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.29, allocations: 370.6 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.29, allocations: 4 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2901, allocations: 131.4 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.2902, allocations: 4 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2921, allocations: 2.143 MB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2923, allocations: 0.6885 MB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.025e-06/0.2924, allocations: 0 / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.2924, allocations: 23.38 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2924, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.644/1.937, allocations: 3.134 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.937, allocations: 211.3 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/3.795, allocations: 1.375 kB / 1.066 GB, free: 9.961 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