Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001493/0.001493, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001889/0.001889, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.809 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.3/3.3, allocations: 0.4892 GB / 0.7944 GB, free: 35.38 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.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_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.002019/0.002019, allocations: 70.08 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3675, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00228/0.3698, allocations: 0.6162 MB / 1.326 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.3722, allocations: 1.436 MB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.3722, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.3723, allocations: 3.938 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.3723, allocations: 3.984 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.3732, allocations: 215.5 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3733, allocations: 35.97 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.801e-05/0.3733, allocations: 12.28 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.3734, allocations: 15.97 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.3735, allocations: 27.8 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3735, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005118/0.374, allocations: 255.6 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.374, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.3741, allocations: 19.91 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.3744, allocations: 219.4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3744, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3744, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3745, allocations: 4 kB / 1.328 GB, free: 15.47 MB / 1.029 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.0004634/0.3749, allocations: 331.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.375, allocations: 12.03 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.375, allocations: 30.75 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.375, allocations: 4.938 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3752, allocations: 114.5 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3752, allocations: 4.359 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3752, allocations: 4.375 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3754, allocations: 107.5 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3754, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3754, allocations: 4 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3754, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.3755, allocations: 73.61 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.3757, allocations: 136.6 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3758, allocations: 84.19 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.3759, allocations: 74.56 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.3759, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3759, allocations: 38.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.3759, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003926/0.3763, allocations: 266.7 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3764, allocations: 81.11 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3765, allocations: 113.9 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3765, allocations: 25.7 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.3766, allocations: 88.14 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.3766, allocations: 15.84 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3767, allocations: 21.72 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3768, allocations: 322.8 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.3769, allocations: 65.67 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.377, allocations: 65.67 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3772, allocations: 148.2 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3772, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002376/0.3774, allocations: 188.9 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.3775, allocations: 41.69 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3775, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3775, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3775, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3775, allocations: 7.984 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3776, allocations: 7.938 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3777, allocations: 4 kB / 1.33 GB, free: 12.75 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 (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.000132/0.3778, allocations: 148.1 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3778, allocations: 15.88 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.3779, allocations: 8.406 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3779, allocations: 4 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3779, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3779, allocations: 4 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.378, allocations: 132.7 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.378, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.378, allocations: 7.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.378, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.378, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.378, allocations: 7.922 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.378, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3783, allocations: 236.4 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.3783, allocations: 11.89 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3784, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.3784, allocations: 15.92 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.3784, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3784, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.605e-05/0.3785, allocations: 95.89 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3785, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003634/0.3789, allocations: 75.86 kB / 1.331 GB, free: 11.9 MB / 1.029 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.0008824/0.3798, allocations: 0.8227 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3801, allocations: 226.8 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3801, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3802, allocations: 153 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.3804, allocations: 4 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.381, allocations: 259.8 kB / 1.332 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.381, allocations: 67.34 kB / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.681e-06/0.3811, allocations: 0 / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3811, allocations: 19.42 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3811, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.4158, allocations: 3.668 MB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 8.062 kB / 1.336 GB, free: 6.688 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.965442406013608]