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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 108.1 kB / 17.93 MB, free: 3.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 200.4 kB / 21.19 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7634 GB, free: 10.87 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 63.91 kB / 1.108 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8199, allocations: 168.7 MB / 1.272 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002034/0.8219, allocations: 0.6249 MB / 1.273 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.8242, allocations: 1.451 MB / 1.274 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.8242, allocations: 0 / 1.274 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.593e-05/0.8242, allocations: 4 kB / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.8243, allocations: 4 kB / 1.274 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.825, allocations: 207.5 kB / 1.275 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.8251, allocations: 35.97 kB / 1.275 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.8252, allocations: 7.969 kB / 1.275 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.8252, allocations: 23.86 kB / 1.275 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.8253, allocations: 15.98 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.8253, allocations: 4 kB / 1.275 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.8258, allocations: 259.6 kB / 1.275 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.8259, allocations: 7.984 kB / 1.275 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.8259, allocations: 15.88 kB / 1.275 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.8263, allocations: 221.2 kB / 1.275 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.8263, allocations: 4 kB / 1.275 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8263, allocations: 0 / 1.275 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8263, allocations: 0 / 1.275 GB, free: 1.48 MB / 0.9669 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.0005533/0.8268, allocations: 400.7 kB / 1.276 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.8269, allocations: 8.031 kB / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.8269, allocations: 42.75 kB / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.827, allocations: 4.891 kB / 1.276 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.8272, allocations: 176.3 kB / 1.276 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.8272, allocations: 4.312 kB / 1.276 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.8272, allocations: 4.375 kB / 1.276 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.8274, allocations: 77.72 kB / 1.276 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.8274, allocations: 0 / 1.276 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.8274, allocations: 4 kB / 1.276 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8274, allocations: 3.938 kB / 1.276 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.8275, allocations: 35.97 kB / 1.276 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.8277, allocations: 161.7 kB / 1.276 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.8278, allocations: 50.55 kB / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.8279, allocations: 40.86 kB / 1.276 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-06/0.8279, allocations: 4 kB / 1.276 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.8279, allocations: 38.44 kB / 1.276 GB, free: 276 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.8279, allocations: 0 / 1.276 GB, free: 276 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003801/0.8283, allocations: 179.3 kB / 1.276 GB, free: 84 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/0.8284, allocations: 89.11 kB / 1.276 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.8285, allocations: 114 kB / 1.277 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.8286, allocations: 29.7 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.8286, allocations: 88.12 kB / 1.277 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.8287, allocations: 27.75 kB / 1.277 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.8287, allocations: 25.7 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.8289, allocations: 310.8 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.829, allocations: 43.97 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.829, allocations: 35.97 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.8292, allocations: 144.1 kB / 1.277 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8292, allocations: 0 / 1.277 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002258/0.8294, allocations: 151.9 kB / 1.277 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.8295, allocations: 41.69 kB / 1.277 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8295, allocations: 0 / 1.277 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.8295, allocations: 0 / 1.277 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.005e-06/0.8295, allocations: 4 kB / 1.277 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8295, allocations: 3.984 kB / 1.277 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.8297, allocations: 12.02 kB / 1.277 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.8297, allocations: 4 kB / 1.277 GB, free: 14.89 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.0001399/0.8299, allocations: 157 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.8299, allocations: 7.938 kB / 1.278 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.8299, allocations: 4.375 kB / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8299, allocations: 3.938 kB / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8299, allocations: 0 / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8299, allocations: 0 / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.8301, allocations: 177.5 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8301, allocations: 4 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-06/0.8301, allocations: 3.938 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.8301, allocations: 0 / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8301, allocations: 4 kB / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.8301, allocations: 0 / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8301, allocations: 0 / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.8304, allocations: 192.3 kB / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.8305, allocations: 92.88 kB / 1.278 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8305, allocations: 4 kB / 1.278 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.8305, allocations: 12.02 kB / 1.278 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.8305, allocations: 8 kB / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.8305, allocations: 4 kB / 1.278 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.8306, allocations: 91.25 kB / 1.278 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8306, allocations: 0 / 1.278 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003575/0.831, allocations: 79.86 kB / 1.278 GB, free: 13.96 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.0008419/0.8318, allocations: 0.794 MB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.8321, allocations: 155.3 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8321, allocations: 4 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.8322, allocations: 119.3 kB / 1.279 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.8324, allocations: 4 kB / 1.279 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.8329, allocations: 242.2 kB / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.8333, allocations: 0.6964 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.701e-06/0.8333, allocations: 0 / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.8333, allocations: 15.44 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.8333, allocations: 0 / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.8614, allocations: 3.101 MB / 1.283 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.926, allocations: 5.609 kB / 1.283 GB, free: 8.801 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.995706191053614]