Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001648/0.001648, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002409/0.002409, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.476/3.476, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_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.002269/0.002269, allocations: 67.95 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4466, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002281/0.4489, allocations: 0.6418 MB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005675/0.4494, allocations: 179.6 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.4495, allocations: 0 / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.4495, allocations: 4 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.4497, allocations: 3.938 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.45, allocations: 79.77 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.45, allocations: 31.89 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.4501, allocations: 0 / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.4501, allocations: 15.94 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.4502, allocations: 23.89 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.4503, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.4504, allocations: 51.83 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.4504, allocations: 11.92 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.4505, allocations: 7.938 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.4507, allocations: 92 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4507, allocations: 0 / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4507, allocations: 7.938 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4507, allocations: 0 / 1.365 GB, free: 12.87 MB / 1.061 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.0006514/0.4513, allocations: 286.1 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4514, allocations: 12.03 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.4514, allocations: 30.75 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.4521, allocations: 68.78 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.4522, allocations: 118.5 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4522, allocations: 4.359 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.4523, allocations: 8.375 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4525, allocations: 78.17 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4525, allocations: 7.891 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4525, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4525, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.4528, allocations: 63.89 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.4531, allocations: 212.1 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.4535, allocations: 102.5 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4536, allocations: 28.94 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4536, allocations: 4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4536, allocations: 30.56 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4536, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.02724/0.4809, allocations: 1.519 MB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.4809, allocations: 55.41 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4811, allocations: 125.7 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.4811, allocations: 29.64 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.4812, allocations: 92.09 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.4813, allocations: 23.78 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.4815, allocations: 25.7 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4817, allocations: 322.8 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/0.4822, allocations: 151.9 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.4828, allocations: 159.9 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4839, allocations: 316.7 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4839, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001324/0.4852, allocations: 361.5 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4852, allocations: 4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4852, allocations: 4.594 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4853, allocations: 0 / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4869, allocations: 63.92 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.487, allocations: 4 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4884, allocations: 51.94 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.4885, allocations: 8 kB / 1.369 GB, free: 8.355 MB / 1.061 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.0002104/0.4887, allocations: 110.4 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.4888, allocations: 11.89 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4889, allocations: 20.38 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.4889, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4889, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.489, allocations: 3.984 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/0.4951, allocations: 0.7625 MB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.4951, allocations: 4.062 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.4963, allocations: 60 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.4964, allocations: 4.422 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.4964, allocations: 11.92 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.4964, allocations: 0 / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.4964, allocations: 4 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.4976, allocations: 333.1 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.4976, allocations: 11.94 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.4977, allocations: 15.94 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4988, allocations: 43.94 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.4988, allocations: 7.938 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.4989, allocations: 3.984 kB / 1.37 GB, free: 6.867 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.499, allocations: 99.27 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.499, allocations: 0 / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004042/0.4994, allocations: 88 kB / 1.37 GB, free: 6.684 MB / 1.061 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.001551/0.5009, allocations: 0.8819 MB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.5021, allocations: 259.8 kB / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5021, allocations: 0 / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.5026, allocations: 111.9 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.5029, allocations: 5.719 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/0.5104, allocations: 2.808 MB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.5105, allocations: 71.34 kB / 1.374 GB, free: 2.414 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005383/0.5111, allocations: 52 kB / 1.374 GB, free: 2.363 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.5116, allocations: 23.42 kB / 1.374 GB, free: 2.34 MB / 1.061 GB Notification: Performance of SimCode: time 1.353e-06/0.5116, allocations: 0 / 1.374 GB, free: 2.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.5593, allocations: 11.81 MB / 1.386 GB, free: 6.594 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.29, allocations: 10.06 kB / 1.386 GB, free: 6.586 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! Error: Could not read variable dy in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable dy from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.73671956686303]