Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002741/0.002741, allocations: 216.6 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 66.8 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3199, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00189/0.3218, allocations: 0.6308 MB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3237, allocations: 1.441 MB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.3238, allocations: 0 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.132e-05/0.3238, allocations: 11.92 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.3239, allocations: 4 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.3246, allocations: 180.5 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3247, allocations: 47.89 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3247, allocations: 4 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.3248, allocations: 19.92 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.3248, allocations: 31.89 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3249, allocations: 4 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.3253, allocations: 231.6 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.3253, allocations: 11.92 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.3253, allocations: 23.86 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3256, allocations: 195.7 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3256, allocations: 4 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3256, allocations: 0 / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3256, allocations: 0 / 1.286 GB, free: 8.855 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.0004624/0.3261, allocations: 369.2 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3261, allocations: 8.031 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.3262, allocations: 30.75 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3262, allocations: 12.89 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3263, allocations: 120.8 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3264, allocations: 4.375 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3264, allocations: 8.359 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3265, allocations: 93.77 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3266, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3266, allocations: 4 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3266, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.3267, allocations: 63.89 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.3268, allocations: 152.7 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.327, allocations: 78.52 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.327, allocations: 64.89 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.3271, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3271, allocations: 34.5 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3271, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004033/0.3275, allocations: 251.2 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.3275, allocations: 93.08 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3277, allocations: 149.7 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3277, allocations: 25.7 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.3278, allocations: 96.11 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3278, allocations: 7.906 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.3278, allocations: 25.72 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.328, allocations: 322.8 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.3281, allocations: 103.9 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3282, allocations: 103.9 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.3285, allocations: 273.8 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.3285, allocations: 4 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003805/0.3289, allocations: 332.7 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.329, allocations: 67.39 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.329, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.329, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.329, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.329, allocations: 3.938 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3292, allocations: 19.94 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.3292, allocations: 12 kB / 1.289 GB, free: 5.723 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.0001169/0.3293, allocations: 143.5 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3293, allocations: 11.89 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.3293, allocations: 8.344 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3293, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3293, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3293, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3295, allocations: 148.7 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3295, allocations: 3.938 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3295, allocations: 4 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3295, allocations: 0 / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3295, allocations: 4 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3295, allocations: 3.984 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3295, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3298, allocations: 230.6 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.3298, allocations: 15.81 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3298, allocations: 4.141 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.632e-05/0.3299, allocations: 8.031 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.3299, allocations: 15.91 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3299, allocations: 0 / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.33, allocations: 110.4 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.33, allocations: 0 / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002966/0.3303, allocations: 63.92 kB / 1.29 GB, free: 4.879 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.0007498/0.3311, allocations: 0.8053 MB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.3315, allocations: 330.6 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3315, allocations: 0 / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3316, allocations: 123.3 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3318, allocations: 13.48 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.334, allocations: 2.137 MB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3344, allocations: 0.6885 MB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.602e-06/0.3344, allocations: 0 / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.3344, allocations: 23.47 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3344, allocations: 0 / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.3665, allocations: 3.442 MB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.37, allocations: 8.062 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.046345661001396]