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.001717/0.001717, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002564/0.002564, allocations: 212.8 kB / 22.24 MB, free: 4.855 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.793 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.86/2.86, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] 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.00216/0.00216, allocations: 72.12 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3029, allocations: 169.9 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002037/0.3049, allocations: 0.6414 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004913/0.3054, allocations: 183.3 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.3055, allocations: 0 / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3055, allocations: 0 / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.3057, allocations: 7.938 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.3059, allocations: 71.75 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.463e-05/0.306, allocations: 31.91 kB / 1.284 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.306, allocations: 11.5 kB / 1.284 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.306, allocations: 11.94 kB / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.3061, allocations: 23.91 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3061, allocations: 4 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3062, allocations: 47.83 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.3063, allocations: 15.91 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.3063, allocations: 11.94 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3065, allocations: 81.47 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3065, allocations: 4 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3065, allocations: 0 / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3065, allocations: 0 / 1.284 GB, free: 11.3 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.0005755/0.3071, allocations: 298.1 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3071, allocations: 8.031 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.3072, allocations: 34.75 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.3072, allocations: 4.891 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3073, allocations: 118.4 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3074, allocations: 8.375 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3074, allocations: 384 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3075, allocations: 54.23 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3075, allocations: 3.938 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3076, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3076, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.3077, allocations: 39.89 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.308, allocations: 212.1 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3083, allocations: 66.47 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3083, allocations: 24.94 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3084, allocations: 7.984 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3084, allocations: 34.5 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3084, allocations: 0 / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0289/0.3373, allocations: 1.617 MB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3373, allocations: 55.41 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3375, allocations: 117.8 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.3375, allocations: 29.7 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.3376, allocations: 100 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.3377, allocations: 23.81 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3379, allocations: 25.7 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.338, allocations: 322.8 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.3386, allocations: 135.9 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.3391, allocations: 147.9 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3401, allocations: 292.7 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3401, allocations: 4 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001252/0.3414, allocations: 329.6 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3414, allocations: 10.84 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3414, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3414, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.3431, allocations: 63.88 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3431, allocations: 4 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.3445, allocations: 47.94 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.3445, allocations: 4 kB / 1.288 GB, free: 6.906 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.0001972/0.3447, allocations: 129.7 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.3448, allocations: 7.953 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.345, allocations: 16.38 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.345, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.345, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.345, allocations: 4 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00618/0.3512, allocations: 0.7351 MB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3512, allocations: 4 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.3524, allocations: 51.94 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3524, allocations: 0 / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.3524, allocations: 11.92 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3524, allocations: 3.938 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3524, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3535, allocations: 329.1 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.3535, allocations: 0 / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.3536, allocations: 7.938 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.3547, allocations: 35.95 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.3547, allocations: 11.98 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.3548, allocations: 4 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.887e-05/0.3549, allocations: 95.27 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3549, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004491/0.3553, allocations: 95.94 kB / 1.289 GB, free: 5.289 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.001493/0.3568, allocations: 0.8662 MB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.3579, allocations: 247.8 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3579, allocations: 0 / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.3583, allocations: 95.88 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3586, allocations: 8 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.3659, allocations: 2.681 MB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.962e-05/0.3659, allocations: 67.34 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004842/0.3664, allocations: 48 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.3669, allocations: 23.42 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/0.3669, allocations: 0 / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.4098, allocations: 11.3 MB / 1.304 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.48, allocations: 23.45 kB / 1.304 GB, free: 5.879 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.404099399223924]