Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001453/0.001453, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.001652/0.001652, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.83/2.83, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] 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.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.002134/0.002134, allocations: 78.08 kB / 1.112 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8831, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001866/0.885, allocations: 0.636 MB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.8854, allocations: 211.1 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.8854, allocations: 4 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.8855, allocations: 0 / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.8856, allocations: 3.938 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.8858, allocations: 79.73 kB / 1.279 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.8859, allocations: 31.92 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.8859, allocations: 0 / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.886, allocations: 15.92 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.886, allocations: 19.91 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.8861, allocations: 4 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.8862, allocations: 107.7 kB / 1.279 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.8863, allocations: 19.92 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.8863, allocations: 3.938 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.8865, allocations: 117.5 kB / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8865, allocations: 0 / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8865, allocations: 0 / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8865, allocations: 0 / 1.28 GB, free: 12.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005742/0.887, allocations: 371.1 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8871, allocations: 12.03 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.8871, allocations: 38.69 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.8872, allocations: 0.9375 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.8873, allocations: 176.3 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8873, allocations: 4.375 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.8873, allocations: 4.312 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.8875, allocations: 54.23 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.8875, allocations: 3.938 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.8875, allocations: 3.938 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8875, allocations: 3.984 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.8877, allocations: 39.95 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.888, allocations: 245 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.8882, allocations: 70.41 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.8883, allocations: 24.94 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.8883, allocations: 0 / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.8883, allocations: 38.55 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.8883, allocations: 0 / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02929/0.9176, allocations: 1.613 MB / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.9177, allocations: 51.41 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.9178, allocations: 117.8 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.9179, allocations: 25.7 kB / 1.282 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.918, allocations: 92.08 kB / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.918, allocations: 31.73 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.9183, allocations: 25.7 kB / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9184, allocations: 322.8 kB / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.9189, allocations: 147.9 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.9195, allocations: 147.9 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.9206, allocations: 301.3 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.9206, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001303/0.9219, allocations: 329.5 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.9219, allocations: 8 kB / 1.284 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9219, allocations: 0 / 1.284 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9219, allocations: 0 / 1.284 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.9236, allocations: 63.94 kB / 1.284 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9236, allocations: 0 / 1.284 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.925, allocations: 47.94 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.9251, allocations: 0 / 1.284 GB, free: 7.602 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002056/0.9253, allocations: 123.7 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.9254, allocations: 11.94 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.9255, allocations: 16.38 kB / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9255, allocations: 0 / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9255, allocations: 8 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9255, allocations: 0 / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006148/0.9316, allocations: 0.8337 MB / 1.285 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.9316, allocations: 4 kB / 1.285 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.9328, allocations: 55.94 kB / 1.285 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.9328, allocations: 3.938 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.9329, allocations: 11.92 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9329, allocations: 0 / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9329, allocations: 0 / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.9339, allocations: 325.2 kB / 1.285 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.934, allocations: 81.11 kB / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.9341, allocations: 3.938 kB / 1.285 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.9351, allocations: 43.95 kB / 1.285 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.9352, allocations: 7.984 kB / 1.285 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.9352, allocations: 7.938 kB / 1.285 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.448e-05/0.9353, allocations: 99.3 kB / 1.285 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9353, allocations: 0 / 1.285 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004582/0.9357, allocations: 87.94 kB / 1.285 GB, free: 5.777 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001519/0.9373, allocations: 0.8828 MB / 1.286 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.9383, allocations: 243.8 kB / 1.287 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.9383, allocations: 0 / 1.287 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.9387, allocations: 95.88 kB / 1.287 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.939, allocations: 0 / 1.287 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007233/0.9463, allocations: 2.69 MB / 1.289 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.9466, allocations: 0.6885 MB / 1.29 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004258/0.947, allocations: 52 kB / 1.29 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.9475, allocations: 19.42 kB / 1.29 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of SimCode: time 9.02e-07/0.9475, allocations: 0 / 1.29 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.9838, allocations: 9.819 MB / 1.3 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/9.289, allocations: 13.84 kB / 1.3 GB, free: 7.191 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! Error: Could not read variable dy in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable dy from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.649505160050467]