Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001702/0.001702, allocations: 113 kB / 18.94 MB, free: 2.934 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.002175/0.002175, allocations: 208.7 kB / 22.25 MB, free: 5.082 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: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.573/3.573, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_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.002105/0.002105, allocations: 66.86 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001793/0.3517, allocations: 0.6302 MB / 1.354 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3539, allocations: 1.506 MB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.3539, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.354, allocations: 3.938 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.354, allocations: 0 / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.3549, allocations: 221 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.355, allocations: 35.97 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.355, allocations: 8.281 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.3551, allocations: 15.92 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.3551, allocations: 27.84 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.3551, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.3556, allocations: 283.6 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.3557, allocations: 7.984 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3557, allocations: 19.86 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3561, allocations: 219.4 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3561, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3561, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.3561, allocations: 4 kB / 1.356 GB, free: 5.445 MB / 1.045 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.0004342/0.3565, allocations: 331.6 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3566, allocations: 12.03 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.3566, allocations: 30.75 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.3566, allocations: 8.891 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3567, allocations: 106.5 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.3567, allocations: 384 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3568, allocations: 8.312 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3569, allocations: 81.77 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3569, allocations: 3.938 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3569, allocations: 4 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3569, allocations: 0 / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.536e-05/0.357, allocations: 35.97 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.3572, allocations: 140.6 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.3573, allocations: 50.55 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.3573, allocations: 40.86 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3573, allocations: 8 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3574, allocations: 38.5 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3574, allocations: 0 / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003267/0.3577, allocations: 183.2 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3577, allocations: 81.11 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.3578, allocations: 109.8 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3578, allocations: 29.7 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.3579, allocations: 84.14 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.3579, allocations: 31.83 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.358, allocations: 17.72 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3581, allocations: 318.8 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.3582, allocations: 39.97 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.3582, allocations: 31.97 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3584, allocations: 144.8 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3584, allocations: 0 / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002023/0.3586, allocations: 155.4 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.3586, allocations: 39 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3587, allocations: 4 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3587, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3587, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3587, allocations: 7.938 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3588, allocations: 15.88 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3588, allocations: 8 kB / 1.358 GB, free: 3.055 MB / 1.045 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.000116/0.3589, allocations: 152.1 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.359, allocations: 11.92 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.359, allocations: 8.375 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.359, allocations: 3.984 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.359, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.359, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.3591, allocations: 148.7 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3591, allocations: 0 / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.3591, allocations: 7.875 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3591, allocations: 0 / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3591, allocations: 7.938 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3591, allocations: 0 / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.3591, allocations: 3.984 kB / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3594, allocations: 190.8 kB / 1.358 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3594, allocations: 15.88 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3594, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.3595, allocations: 8 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.3595, allocations: 3.984 kB / 1.358 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3595, allocations: 4 kB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.3595, allocations: 91.27 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003217/0.3599, allocations: 79.91 kB / 1.359 GB, free: 2.25 MB / 1.045 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.0007875/0.3607, allocations: 0.7857 MB / 1.359 GB, free: 1.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.3609, allocations: 167.3 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3609, allocations: 0 / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.361, allocations: 123.4 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3612, allocations: 4 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.3617, allocations: 226.2 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3621, allocations: 0.6846 MB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.661e-06/0.3621, allocations: 0 / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3621, allocations: 15.42 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/0.3621, allocations: 0 / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3936, allocations: 3.241 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.5, allocations: 14.03 kB / 1.364 GB, free: 13.02 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.878940911963582]