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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_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.006393/0.006393, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001377/0.001377, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.539/2.539, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 68.39 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3017, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001801/0.3035, allocations: 0.6038 MB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3054, allocations: 1.389 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3054, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.621e-05/0.3055, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.3056, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.3063, allocations: 173.5 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3064, allocations: 51.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.3065, allocations: 3.984 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.3065, allocations: 27.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.3066, allocations: 15.98 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3066, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.3069, allocations: 207.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.307, allocations: 17.34 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.307, allocations: 19.88 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3073, allocations: 186.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3073, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3073, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3074, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 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.000455/0.3078, allocations: 443.5 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3079, allocations: 12.03 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.3079, allocations: 34.69 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3079, allocations: 12.83 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3081, allocations: 181.6 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3081, allocations: 384 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3082, allocations: 4.375 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3083, allocations: 97.77 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3084, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3084, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3084, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.3085, allocations: 59.95 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3087, allocations: 177.6 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3088, allocations: 82.47 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.3089, allocations: 68.89 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.3089, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3089, allocations: 42.44 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3089, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004024/0.3093, allocations: 259.1 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3094, allocations: 81.11 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3095, allocations: 147.8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3095, allocations: 25.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.3096, allocations: 92.14 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3096, allocations: 3.906 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.3097, allocations: 29.7 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.3098, allocations: 326.9 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3099, allocations: 99.94 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.31, allocations: 99.94 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3103, allocations: 285.8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3103, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003366/0.3107, allocations: 324.8 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.3107, allocations: 75.38 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3107, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3108, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-06/0.3108, allocations: 4.062 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3108, allocations: 3.938 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3109, allocations: 15.84 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3109, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 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.0001135/0.3111, allocations: 151.5 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.3111, allocations: 11.84 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.528e-05/0.3111, allocations: 8.234 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3111, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3111, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3111, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3112, allocations: 173.6 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3113, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.3113, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3113, allocations: 144 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3113, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3113, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3113, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3116, allocations: 238.6 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3116, allocations: 84.95 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3117, allocations: 4 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.3117, allocations: 4 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.3118, allocations: 11.98 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3118, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.3119, allocations: 107.2 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3119, allocations: 3.938 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003026/0.3122, allocations: 71.98 kB / 1.094 GB, free: 10.94 MB / 0.8575 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.0007528/0.313, allocations: 0.8092 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.3134, allocations: 378.6 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3134, allocations: 0 / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.3135, allocations: 131.4 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.3137, allocations: 8.391 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3156, allocations: 2.13 MB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3159, allocations: 0.6924 MB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.915e-06/0.3159, allocations: 0 / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.3159, allocations: 23.36 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3159, allocations: 0 / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3361, allocations: 3.312 MB / 1.101 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.964, allocations: 4.062 kB / 1.101 GB, free: 3.375 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches