Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001427/0.001427, 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.001911/0.001911, allocations: 212.4 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.77 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.923/2.923, allocations: 476 MB / 0.7699 GB, free: 4.703 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.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002154/0.002154, allocations: 64.45 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00239/0.3532, allocations: 0.6206 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3555, allocations: 1.437 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.3555, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.1e-05/0.3556, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.3556, allocations: 3.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.3565, allocations: 217.6 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3566, allocations: 43.89 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.3567, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.3567, allocations: 15.98 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.3567, allocations: 23.92 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3568, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/0.3573, allocations: 263.6 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.3574, allocations: 4 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.3574, allocations: 15.88 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.3578, allocations: 221.1 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3578, allocations: 4 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3578, allocations: 3.938 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3578, allocations: 4 kB / 1.285 GB, free: 9.512 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004568/0.3583, allocations: 323.6 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3583, allocations: 8.031 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.3583, allocations: 42.73 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.3584, allocations: 8.875 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3585, allocations: 106.5 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3585, allocations: 4.375 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3585, allocations: 384 / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3587, allocations: 111.4 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3587, allocations: 4 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3587, allocations: 4 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3587, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/0.3588, allocations: 65.67 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.359, allocations: 132.7 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3591, allocations: 92.23 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.3592, allocations: 70.56 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3592, allocations: 38.44 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000406/0.3596, allocations: 258.8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.3597, allocations: 85.09 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3598, allocations: 114.1 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3598, allocations: 29.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.3599, allocations: 84.14 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.3599, allocations: 23.84 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.36, allocations: 17.72 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3601, allocations: 318.8 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.3602, allocations: 65.67 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.3603, allocations: 73.61 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3604, allocations: 144.3 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3604, allocations: 8 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002341/0.3607, allocations: 188.9 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.3607, allocations: 37.69 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3607, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3607, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3607, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3607, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3609, allocations: 15.92 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3609, allocations: 4 kB / 1.288 GB, free: 6.793 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001207/0.361, allocations: 147.5 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.361, allocations: 19.86 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.361, allocations: 12.31 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.361, allocations: 3.984 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.361, allocations: 3.938 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3611, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3612, allocations: 128.8 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3612, allocations: 3.984 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.3612, allocations: 3.938 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3612, allocations: 4 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3612, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3612, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3612, allocations: 8 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.3615, allocations: 236.4 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.3615, allocations: 3.938 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3615, allocations: 4 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.3616, allocations: 7.984 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.3616, allocations: 8 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3616, allocations: 4 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.3616, allocations: 87.27 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003295/0.362, allocations: 79.86 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008216/0.3628, allocations: 0.827 MB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3631, allocations: 226.7 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3631, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.3632, allocations: 145 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.3634, allocations: 10 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.3639, allocations: 260 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.182e-05/0.364, allocations: 71.33 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.22e-06/0.364, allocations: 0 / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.3641, allocations: 15.59 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3641, allocations: 0 / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.398, allocations: 3.672 MB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.06, allocations: 2.312 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable yMonotone in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.14134337566793]