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.001887/0.001887, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002208/0.002208, allocations: 217.6 kB / 23.03 MB, free: 4.918 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.532/3.532, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",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.001999/0.001999, allocations: 66.02 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4035, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001911/0.4054, allocations: 0.6147 MB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.4077, allocations: 1.432 MB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.4077, allocations: 0 / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.982e-05/0.4077, allocations: 0 / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.4078, allocations: 7.938 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.4086, allocations: 215.4 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.4087, allocations: 47.89 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.4087, allocations: 8.266 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.4087, allocations: 8 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.4088, allocations: 23.91 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.4088, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.4093, allocations: 271.6 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.4093, allocations: 15.92 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.4093, allocations: 15.92 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.4097, allocations: 219.4 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4097, allocations: 0 / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4097, allocations: 0 / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.4097, allocations: 0 / 1.348 GB, free: 13.03 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.0004731/0.4102, allocations: 335.6 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4102, allocations: 8.031 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.4102, allocations: 192 / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.4102, allocations: 34.75 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.4103, allocations: 8.891 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.4104, allocations: 110.5 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4104, allocations: 4.375 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.4105, allocations: 384 / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4106, allocations: 115.2 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4107, allocations: 8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4107, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4107, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.4108, allocations: 65.67 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.411, allocations: 140.6 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.4111, allocations: 84.25 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.4112, allocations: 70.56 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.4112, allocations: 11.88 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4112, allocations: 34.55 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4112, allocations: 4 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004222/0.4116, allocations: 246.9 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.4117, allocations: 85.09 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4118, allocations: 113.8 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4118, allocations: 29.7 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.4119, allocations: 80.14 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.412, allocations: 23.81 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.412, allocations: 21.7 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4122, allocations: 318.8 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.4123, allocations: 73.62 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.4124, allocations: 69.67 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.4126, allocations: 144.2 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4126, allocations: 0 / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002499/0.4128, allocations: 185 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.4129, allocations: 37.69 kB / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4129, allocations: 0 / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4129, allocations: 0 / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.4129, allocations: 3.938 kB / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4129, allocations: 0 / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.4131, allocations: 23.94 kB / 1.35 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.4131, allocations: 4 kB / 1.351 GB, free: 10.29 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.0001584/0.4133, allocations: 151.5 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.4133, allocations: 7.938 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.4133, allocations: 8.375 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4133, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4134, allocations: 3.984 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4134, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.4135, allocations: 136.7 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4135, allocations: 3.938 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4135, allocations: 4 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4135, allocations: 4 kB / 1.351 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.4136, allocations: 4 kB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.4136, allocations: 4 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4136, allocations: 0 / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.4139, allocations: 229.1 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.4139, allocations: 7.891 kB / 1.351 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.414, allocations: 4 kB / 1.351 GB, free: 9.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.414, allocations: 11.94 kB / 1.351 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.414, allocations: 11.98 kB / 1.351 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4141, allocations: 4 kB / 1.351 GB, free: 9.617 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.33e-05/0.4141, allocations: 103.2 kB / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4141, allocations: 0 / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004169/0.4146, allocations: 71.88 kB / 1.351 GB, free: 9.445 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.0009925/0.4155, allocations: 0.8225 MB / 1.352 GB, free: 8.582 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.4159, allocations: 226.7 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4159, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.416, allocations: 149 kB / 1.352 GB, free: 8.172 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.4162, allocations: 10.09 kB / 1.352 GB, free: 8.164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.4168, allocations: 260.2 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.505e-05/0.4169, allocations: 79.17 kB / 1.353 GB, free: 7.766 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.33e-06/0.4169, allocations: 0 / 1.353 GB, free: 7.766 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.4169, allocations: 15.44 kB / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4169, allocations: 0 / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4427, allocations: 3.317 MB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 9.891 kB / 1.356 GB, free: 4.582 MB / 1.045 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: 19.349672454991378]