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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00721/0.007217, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001626/0.001626, allocations: 196.3 kB / 16.67 MB, free: 6.355 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.7 MB / 0.7454 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.91 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.299, allocations: 159.9 MB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001682/0.3007, allocations: 0.6244 MB / 1.226 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3026, allocations: 1.384 MB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.3026, allocations: 0 / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.3027, allocations: 3.938 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.3028, allocations: 7.984 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.3034, allocations: 175.3 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3036, allocations: 55.89 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.3036, allocations: 4 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.3037, allocations: 23.92 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3037, allocations: 23.91 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3037, allocations: 4 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.3041, allocations: 199.7 kB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.3042, allocations: 8 kB / 1.228 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.3042, allocations: 31.8 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.3045, allocations: 183.5 kB / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3045, allocations: 0 / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3045, allocations: 0 / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3045, allocations: 0 / 1.228 GB, free: 6.879 MB / 0.9825 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.0004768/0.305, allocations: 454.3 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3051, allocations: 8.031 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.3051, allocations: 34.75 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.3052, allocations: 8.891 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3053, allocations: 184.2 kB / 1.229 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3053, allocations: 384 / 1.229 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3053, allocations: 4.375 kB / 1.229 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3055, allocations: 101.8 kB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3055, allocations: 4 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3055, allocations: 3.984 kB / 1.229 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3055, allocations: 0 / 1.229 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.3056, allocations: 63.89 kB / 1.229 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.3058, allocations: 169.7 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3059, allocations: 78.52 kB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.306, allocations: 72.89 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.306, allocations: 0 / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.306, allocations: 38.5 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.306, allocations: 0 / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003751/0.3064, allocations: 255.2 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3065, allocations: 81.11 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3066, allocations: 147.5 kB / 1.23 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3066, allocations: 25.7 kB / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3067, allocations: 96.08 kB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3067, allocations: 7.953 kB / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.3068, allocations: 29.75 kB / 1.23 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.3069, allocations: 326.8 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.307, allocations: 103.9 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3071, allocations: 103.9 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3074, allocations: 273.8 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3074, allocations: 0 / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003358/0.3077, allocations: 332.8 kB / 1.231 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.3078, allocations: 71.39 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3078, allocations: 0 / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3078, allocations: 4.062 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3078, allocations: 0 / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3079, allocations: 0 / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.308, allocations: 23.88 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.308, allocations: 4 kB / 1.231 GB, free: 3.535 MB / 0.9825 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.0001005/0.3081, allocations: 148.1 kB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.3082, allocations: 11.89 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.3082, allocations: 8.25 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3082, allocations: 4 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3082, allocations: 0 / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.3082, allocations: 0 / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.3083, allocations: 173.6 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3083, allocations: 3.938 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.3083, allocations: 3.938 kB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3083, allocations: 0 / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3084, allocations: 7.984 kB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3084, allocations: 0 / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3084, allocations: 0 / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3086, allocations: 230.6 kB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.3087, allocations: 88.98 kB / 1.232 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3087, allocations: 4 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.3088, allocations: 0 / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.3088, allocations: 11.98 kB / 1.232 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3088, allocations: 4 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.3089, allocations: 105.4 kB / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3089, allocations: 0 / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003028/0.3092, allocations: 67.91 kB / 1.232 GB, free: 2.566 MB / 0.9825 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.0006575/0.3099, allocations: 0.8248 MB / 1.233 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.3103, allocations: 366.7 kB / 1.233 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3103, allocations: 0 / 1.233 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3104, allocations: 139.4 kB / 1.233 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3106, allocations: 12.05 kB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3126, allocations: 2.131 MB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.3128, allocations: 0.6962 MB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.372e-06/0.3128, allocations: 0 / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.3128, allocations: 15.44 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3129, allocations: 0 / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3337, allocations: 3.308 MB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.978, allocations: 6.797 kB / 1.239 GB, free: 11 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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