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.001841/0.001841, allocations: 114.3 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.002367/0.002367, allocations: 215.2 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.02 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.448/3.448, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.002085/0.002085, allocations: 65.66 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3923, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002089/0.3943, allocations: 0.6458 MB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.3949, allocations: 203.6 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.3949, allocations: 4 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3949, allocations: 3.938 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.3951, allocations: 7.922 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3954, allocations: 75.77 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.3954, allocations: 27.91 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.3955, allocations: 11.98 kB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.3955, allocations: 7.938 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.3956, allocations: 23.91 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3956, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3958, allocations: 111.7 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.3959, allocations: 7.984 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.3959, allocations: 15.88 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3961, allocations: 107.9 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3961, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3961, allocations: 4 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3961, allocations: 0 / 1.354 GB, free: 7.148 MB / 1.045 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.0005722/0.3967, allocations: 290.1 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3967, allocations: 8.031 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3968, allocations: 38.75 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.3974, allocations: 56.83 kB / 1.354 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3975, allocations: 122.4 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3975, allocations: 8.312 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3976, allocations: 4.312 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.3978, allocations: 78.17 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3978, allocations: 11.94 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3978, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3978, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3981, allocations: 55.95 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.3984, allocations: 231.9 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3987, allocations: 102.4 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3988, allocations: 36.94 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3988, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3989, allocations: 34.56 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3989, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0262/0.4251, allocations: 1.515 MB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4251, allocations: 55.41 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4252, allocations: 113.8 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.4253, allocations: 29.7 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.4254, allocations: 92.14 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.4255, allocations: 23.8 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.4257, allocations: 25.7 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4258, allocations: 318.8 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.4263, allocations: 155.9 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.4268, allocations: 159.9 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.4279, allocations: 317.3 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4279, allocations: 0 / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001267/0.4291, allocations: 365.5 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4291, allocations: 4 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4291, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4292, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4308, allocations: 67.92 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4309, allocations: 4 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4323, allocations: 47.94 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.4323, allocations: 8 kB / 1.358 GB, free: 2.629 MB / 1.045 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.000216/0.4326, allocations: 125.6 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.4326, allocations: 7.953 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.4328, allocations: 16.38 kB / 1.358 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4328, allocations: 8.422 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4328, allocations: 0 / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4328, allocations: 3.984 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005904/0.4387, allocations: 0.8404 MB / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4387, allocations: 8 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.44, allocations: 55.94 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.44, allocations: 7.922 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.44, allocations: 11.94 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.44, allocations: 3.984 kB / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.44, allocations: 0 / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4411, allocations: 341.1 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.4411, allocations: 7.953 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.4412, allocations: 7.938 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.4423, allocations: 43.94 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.4423, allocations: 8 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.4424, allocations: 3.938 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.4424, allocations: 103.3 kB / 1.36 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4424, allocations: 0 / 1.36 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004132/0.4429, allocations: 88 kB / 1.36 GB, free: 0.8672 MB / 1.045 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.001442/0.4443, allocations: 0.8742 MB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.4453, allocations: 267.8 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4453, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.4458, allocations: 99.89 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.4461, allocations: 14.02 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00729/0.4534, allocations: 2.813 MB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4537, allocations: 0.6885 MB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.4542, allocations: 56 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/0.4547, allocations: 23.42 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/0.4547, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.4996, allocations: 10.45 MB / 1.375 GB, free: 1.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.73, allocations: 9.781 kB / 1.375 GB, free: 1.512 MB / 1.061 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.130117693000102]