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.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.001491/0.001491, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001671/0.001671, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002143/0.002143, allocations: 69.94 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3101, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002145/0.3122, allocations: 0.6208 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.3151, allocations: 1.433 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.3151, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.738e-05/0.3152, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.3152, allocations: 7.875 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3163, allocations: 219.5 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3164, allocations: 31.97 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.3164, allocations: 11.98 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.3165, allocations: 11.94 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.3166, allocations: 27.89 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3166, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.3172, allocations: 259.6 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.3173, allocations: 11.97 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.3173, allocations: 11.94 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.3177, allocations: 225 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3177, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3177, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3178, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 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.0004802/0.3182, allocations: 327.6 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3183, allocations: 12.03 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.3183, allocations: 30.75 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.3184, allocations: 4.938 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3185, allocations: 118.5 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3185, allocations: 384 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3185, allocations: 4.375 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3187, allocations: 111.4 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3187, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3187, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3187, allocations: 4 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.3188, allocations: 69.67 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.319, allocations: 132.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3191, allocations: 88.19 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.3192, allocations: 74.56 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.3192, allocations: 3.938 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.3193, allocations: 42.48 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3193, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004437/0.3197, allocations: 250.7 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.3198, allocations: 81.09 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3199, allocations: 117.9 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3199, allocations: 25.7 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.32, allocations: 84.14 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.32, allocations: 19.84 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.3201, allocations: 21.72 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3203, allocations: 322.8 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.3204, allocations: 65.67 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.3204, allocations: 69.61 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.3206, allocations: 144.2 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3206, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003027/0.3209, allocations: 193.1 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.321, allocations: 45.75 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.321, allocations: 0.625 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.321, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.321, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.321, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3212, allocations: 15.92 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.3212, allocations: 8 kB / 1.288 GB, free: 6.824 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.0001507/0.3214, allocations: 151.5 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3214, allocations: 15.83 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.3214, allocations: 4.375 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3214, allocations: 4 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3214, allocations: 0 / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3214, allocations: 0 / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3216, allocations: 136.7 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3216, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.3216, allocations: 7.922 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3216, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3216, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3216, allocations: 3.938 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3216, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.3219, allocations: 236.4 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3219, allocations: 11.97 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3219, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.322, allocations: 4 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.322, allocations: 7.984 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.322, allocations: 4 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.3221, allocations: 91.27 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 7.938 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003693/0.3224, allocations: 71.88 kB / 1.288 GB, free: 5.988 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.0009093/0.3234, allocations: 0.8186 MB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.3237, allocations: 234.7 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3237, allocations: 4 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.3238, allocations: 149 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.324, allocations: 10.34 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.3246, allocations: 248 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.999e-05/0.3247, allocations: 71.33 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.045e-06/0.3247, allocations: 3.938 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.3248, allocations: 19.44 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.3248, allocations: 0 / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.358, allocations: 3.663 MB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.21, allocations: 6.812 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB " [Timeout remaining time 287] (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/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: 18.88137356378138]