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.001946/0.001946, 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.001616/0.001616, allocations: 220.2 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.992 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.949/2.949, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.002078/0.002078, allocations: 67.33 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002341/0.3236, allocations: 0.6503 MB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005066/0.3241, allocations: 195.3 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.3242, allocations: 0 / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.3242, allocations: 7.875 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.3244, allocations: 11.92 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3246, allocations: 75.75 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.3247, allocations: 27.97 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.3247, allocations: 3.938 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.3248, allocations: 19.92 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.3248, allocations: 23.91 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3249, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3251, allocations: 107.7 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.3251, allocations: 7.938 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.3251, allocations: 19.91 kB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3254, allocations: 100.4 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3254, allocations: 0 / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3254, allocations: 0 / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3254, allocations: 0 / 1.285 GB, free: 10.46 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.0006728/0.326, allocations: 298 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.3261, allocations: 12.03 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.3262, allocations: 34.73 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3262, allocations: 4.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.3264, allocations: 118.4 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3264, allocations: 384 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3264, allocations: 4.375 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3266, allocations: 54.22 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3266, allocations: 7.938 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3266, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3266, allocations: 4 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3268, allocations: 35.91 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.3271, allocations: 216 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.3273, allocations: 78.45 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.3274, allocations: 24.92 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3274, allocations: 0 / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3275, allocations: 34.5 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3275, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02795/0.3554, allocations: 1.613 MB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3555, allocations: 55.41 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3556, allocations: 121.8 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/0.3557, allocations: 25.7 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.3558, allocations: 92.09 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/0.3558, allocations: 27.75 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.356, allocations: 29.7 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3562, allocations: 322.8 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.3567, allocations: 139.9 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.3572, allocations: 143.9 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.3582, allocations: 296.7 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3582, allocations: 4 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001207/0.3594, allocations: 337.5 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3594, allocations: 4 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3594, allocations: 4 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3594, allocations: 4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.361, allocations: 59.92 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.361, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3624, allocations: 43.95 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.3624, allocations: 7.984 kB / 1.289 GB, free: 6.062 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.0002093/0.3626, allocations: 114.4 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.3627, allocations: 11.94 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.3629, allocations: 20.38 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3629, allocations: 0 / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3629, allocations: 0 / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3629, allocations: 0 / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.3689, allocations: 0.8091 MB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3689, allocations: 3.938 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.3701, allocations: 55.94 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3701, allocations: 4 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.3701, allocations: 7.922 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3701, allocations: 4 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3701, allocations: 4.062 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.3711, allocations: 325 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.3711, allocations: 4 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.3712, allocations: 7.938 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.3722, allocations: 39.95 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.3722, allocations: 3.984 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.3723, allocations: 8 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.3723, allocations: 91.27 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3723, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004281/0.3728, allocations: 95.88 kB / 1.29 GB, free: 4.379 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.001381/0.3742, allocations: 0.8779 MB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.3752, allocations: 235.8 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3752, allocations: 0 / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.3756, allocations: 104.1 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3759, allocations: 5.547 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.3828, allocations: 2.68 MB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3831, allocations: 0.6928 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004093/0.3835, allocations: 52.22 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.384, allocations: 19.42 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.384, allocations: 0 / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.423, allocations: 10.02 MB / 1.305 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 1.203 kB / 1.305 GB, free: 5.637 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.836897412000326]