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.001857/0.001857, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002304/0.002304, allocations: 219.8 kB / 22.25 MB, free: 5.258 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.836 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.311/3.311, allocations: 0.49 GB / 0.7951 GB, free: 35.64 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.002177/0.002177, allocations: 71.88 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3514, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001782/0.3532, allocations: 0.6334 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004742/0.3537, allocations: 183.7 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.3537, allocations: 0 / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.3537, allocations: 3.938 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3539, allocations: 3.938 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3541, allocations: 75.75 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.3542, allocations: 31.84 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.3542, allocations: 4 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.3543, allocations: 19.91 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.3544, allocations: 19.92 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3544, allocations: 4 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3545, allocations: 51.89 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.3545, allocations: 7.984 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.3546, allocations: 11.92 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3547, allocations: 95.94 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3547, allocations: 0 / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3547, allocations: 3.938 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3547, allocations: 0 / 1.327 GB, free: 372 kB / 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.0005985/0.3553, allocations: 294.1 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3554, allocations: 8.031 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.3554, allocations: 38.75 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.3555, allocations: 12.92 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3556, allocations: 114.4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.3556, allocations: 4.312 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3556, allocations: 4.375 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3558, allocations: 58.17 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3558, allocations: 3.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3558, allocations: 7.984 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3558, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.356, allocations: 35.97 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3563, allocations: 212.1 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.3565, allocations: 74.38 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.3566, allocations: 24.94 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.3566, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3566, allocations: 34.56 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 3.166e-06/0.3566, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02664/0.3833, allocations: 1.601 MB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3833, allocations: 51.41 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3835, allocations: 129.7 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/0.3835, allocations: 29.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.3836, allocations: 88.12 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.3837, allocations: 31.73 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.3839, allocations: 21.72 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.384, allocations: 330.7 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.3845, allocations: 139.9 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.385, allocations: 139.9 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.386, allocations: 297.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.386, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001211/0.3872, allocations: 341.4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3872, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3872, allocations: 3.938 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3872, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.3887, allocations: 63.92 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3888, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.39, allocations: 43.95 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.3901, allocations: 11.98 kB / 1.331 GB, free: 11.96 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.0001841/0.3903, allocations: 114.2 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.3904, allocations: 4 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.3905, allocations: 20.38 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3905, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3905, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3905, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/0.3964, allocations: 0.7314 MB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3964, allocations: 4.031 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.3975, allocations: 63.94 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3975, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.3975, allocations: 7.938 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3976, allocations: 4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3976, allocations: 0 / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.3985, allocations: 321.1 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.3985, allocations: 4 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.3986, allocations: 7.938 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.3997, allocations: 43.94 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3997, allocations: 7.938 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.3998, allocations: 7.984 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.934e-05/0.3999, allocations: 91.38 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3999, allocations: 288 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000486/0.4004, allocations: 95.92 kB / 1.333 GB, free: 10.35 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.001628/0.402, allocations: 0.8741 MB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.403, allocations: 243.9 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.403, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.4034, allocations: 91.89 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.4037, allocations: 11.92 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.4108, allocations: 2.686 MB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.4109, allocations: 68.28 kB / 1.336 GB, free: 6.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004223/0.4113, allocations: 51.98 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.4117, allocations: 19.42 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of SimCode: time 1.843e-06/0.4117, allocations: 0 / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/0.4539, allocations: 11.34 MB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.14, allocations: 2.031 kB / 1.348 GB, free: 10.91 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: 19.257064033998176]