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.001396/0.001396, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001329/0.001329, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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.799/2.799, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 176] 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.001904/0.001904, allocations: 75.89 kB / 1.104 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 168.7 MB / 1.269 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002018/1.061, allocations: 0.6264 MB / 1.269 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002158/1.063, allocations: 1.442 MB / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/1.063, allocations: 0 / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/1.063, allocations: 5.375 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/1.063, allocations: 6.281 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/1.064, allocations: 213 kB / 1.271 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000104/1.064, allocations: 33.56 kB / 1.271 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/1.064, allocations: 6.719 kB / 1.271 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/1.064, allocations: 9.812 kB / 1.271 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/1.064, allocations: 23.84 kB / 1.271 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/1.064, allocations: 10.22 kB / 1.271 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/1.065, allocations: 258.3 kB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/1.065, allocations: 7.609 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/1.065, allocations: 14.53 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/1.065, allocations: 225 kB / 1.272 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.065, allocations: 1.5 kB / 1.272 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.065, allocations: 0 / 1.272 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.065, allocations: 0.8125 kB / 1.272 GB, free: 6.246 MB / 0.9981 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.0004011/1.066, allocations: 407 kB / 1.272 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.066, allocations: 13.75 kB / 1.272 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/1.066, allocations: 33.17 kB / 1.272 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/1.066, allocations: 8.016 kB / 1.272 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/1.066, allocations: 172.7 kB / 1.272 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.066, allocations: 1.156 kB / 1.272 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.066, allocations: 2.875 kB / 1.272 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.066, allocations: 75.64 kB / 1.272 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.066, allocations: 4.719 kB / 1.272 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.066, allocations: 0.6875 kB / 1.272 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.066, allocations: 4.781 kB / 1.272 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/1.066, allocations: 41.05 kB / 1.272 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/1.066, allocations: 158.8 kB / 1.272 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/1.066, allocations: 52.11 kB / 1.273 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/1.067, allocations: 41.31 kB / 1.273 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/1.067, allocations: 3.938 kB / 1.273 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/1.067, allocations: 35.97 kB / 1.273 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.775e-06/1.067, allocations: 4 kB / 1.273 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003895/1.067, allocations: 191.6 kB / 1.273 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.067, allocations: 79.11 kB / 1.273 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/1.067, allocations: 111.6 kB / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/1.067, allocations: 27.64 kB / 1.273 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/1.067, allocations: 87.22 kB / 1.273 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/1.067, allocations: 33.73 kB / 1.273 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/1.067, allocations: 18.23 kB / 1.273 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/1.067, allocations: 323.1 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/1.067, allocations: 35.25 kB / 1.273 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/1.067, allocations: 31.89 kB / 1.273 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/1.068, allocations: 145.3 kB / 1.274 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.068, allocations: 0 / 1.274 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/1.068, allocations: 152.6 kB / 1.274 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.068, allocations: 37.81 kB / 1.274 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.068, allocations: 0.9062 kB / 1.274 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.068, allocations: 0 / 1.274 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/1.068, allocations: 1.797 kB / 1.274 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.068, allocations: 8.047 kB / 1.274 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/1.068, allocations: 11.42 kB / 1.274 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/1.068, allocations: 8.719 kB / 1.274 GB, free: 4.273 MB / 0.9981 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 7.221e-05/1.068, allocations: 147.7 kB / 1.274 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/1.068, allocations: 11.98 kB / 1.274 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/1.068, allocations: 6.5 kB / 1.274 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.068, allocations: 1.266 kB / 1.274 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.068, allocations: 1.031 kB / 1.274 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/1.068, allocations: 0 / 1.274 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.691e-05/1.068, allocations: 182.2 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.068, allocations: 1.031 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-06/1.068, allocations: 3.938 kB / 1.274 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.068, allocations: 3.938 kB / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.068, allocations: 3.188 kB / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.068, allocations: 0.9375 kB / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.068, allocations: 0 / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/1.068, allocations: 193.7 kB / 1.274 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/1.068, allocations: 100.6 kB / 1.274 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/1.068, allocations: 3.594 kB / 1.274 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/1.068, allocations: 5.688 kB / 1.274 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/1.068, allocations: 3.188 kB / 1.274 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/1.068, allocations: 6.5 kB / 1.274 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.329e-05/1.068, allocations: 90.42 kB / 1.275 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.068, allocations: 0.9062 kB / 1.275 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003913/1.069, allocations: 68.11 kB / 1.275 GB, free: 3.582 MB / 0.9981 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.0006112/1.069, allocations: 0.803 MB / 1.275 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002307/1.07, allocations: 163.1 kB / 1.276 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.07, allocations: 0 / 1.276 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/1.07, allocations: 118 kB / 1.276 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/1.07, allocations: 4.719 kB / 1.276 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/1.07, allocations: 236.3 kB / 1.276 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.071, allocations: 0.686 MB / 1.277 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.412e-06/1.071, allocations: 0 / 1.277 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/1.071, allocations: 12.31 kB / 1.277 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/1.071, allocations: 0 / 1.277 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/1.097, allocations: 3.107 MB / 1.28 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.438, allocations: 12.92 kB / 1.28 GB, free: 1.387 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.691439390182495]