Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001289/0.001289, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00147/0.00147, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_12_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.002061/0.002061, allocations: 71.52 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4299, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001975/0.4319, allocations: 0.6473 MB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.4324, allocations: 207.5 kB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.4325, allocations: 4 kB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.4325, allocations: 3.938 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.4327, allocations: 11.92 kB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.4329, allocations: 67.77 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.4329, allocations: 23.97 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.433, allocations: 4 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.433, allocations: 15.92 kB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.4331, allocations: 27.84 kB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.4331, allocations: 4 kB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.4333, allocations: 107.8 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.4333, allocations: 15.86 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.4333, allocations: 11.94 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.4335, allocations: 108 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4335, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4335, allocations: 3.938 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4336, allocations: 0 / 1.327 GB, free: 0.7031 MB / 1.014 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.0005579/0.4341, allocations: 290.1 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4342, allocations: 8.031 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4342, allocations: 42.69 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.4342, allocations: 0.9375 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.4344, allocations: 130.4 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4344, allocations: 384 / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.4344, allocations: 384 / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4346, allocations: 62.23 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4346, allocations: 7.875 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4346, allocations: 0 / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4346, allocations: 0 / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.4347, allocations: 35.95 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.435, allocations: 220 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.4353, allocations: 70.47 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.4353, allocations: 16.94 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4354, allocations: 12 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4354, allocations: 34.55 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4354, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02779/0.4632, allocations: 1.601 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.4632, allocations: 59.34 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4634, allocations: 121.8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.4634, allocations: 25.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.4635, allocations: 96.08 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4636, allocations: 19.81 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.4638, allocations: 25.7 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4639, allocations: 326.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.4644, allocations: 139.9 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.4649, allocations: 143.9 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.4659, allocations: 297.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4659, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001161/0.467, allocations: 341.9 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.467, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4671, allocations: 3.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4671, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.4687, allocations: 63.88 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4687, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.47, allocations: 47.94 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.4701, allocations: 8 kB / 1.331 GB, free: 12.3 MB / 1.029 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.0001826/0.4702, allocations: 114.2 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.4703, allocations: 7.984 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.4705, allocations: 20.36 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4705, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4705, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4705, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/0.4762, allocations: 0.8208 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4762, allocations: 64 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.4773, allocations: 55.94 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4773, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.4774, allocations: 7.938 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4774, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.4774, allocations: 4.062 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/0.4783, allocations: 325.1 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.4783, allocations: 7.984 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.4784, allocations: 7.938 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4794, allocations: 39.95 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.4795, allocations: 11.98 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.4795, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.4796, allocations: 91.27 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4796, allocations: 384 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004295/0.48, allocations: 95.94 kB / 1.333 GB, free: 10.61 MB / 1.029 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.001401/0.4814, allocations: 0.87 MB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.4824, allocations: 243.8 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4824, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.4828, allocations: 91.94 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.4831, allocations: 15.88 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006704/0.4898, allocations: 2.682 MB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.4901, allocations: 0.6846 MB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004052/0.4905, allocations: 56 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.491, allocations: 23.42 kB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.491, allocations: 0 / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.5314, allocations: 10.02 MB / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.7, allocations: 2.234 kB / 1.347 GB, free: 11.87 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! Error: Could not read variable dy in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable dy from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.748746460998518]