Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.001731/0.001731, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002455/0.002455, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.826/2.826, allocations: 476.7 MB / 0.7715 GB, free: 4.258 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.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",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.002032/0.002032, allocations: 67.84 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002754/0.3071, allocations: 1.534 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3088, allocations: 0.7808 MB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.3088, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.3091, allocations: 135.7 kB / 1.287 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.3092, allocations: 75.81 kB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.3099, allocations: 187.7 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3101, allocations: 63.86 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.3101, allocations: 4 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.3102, allocations: 39.89 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3104, allocations: 91.83 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3104, allocations: 4 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.3109, allocations: 259.6 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.311, allocations: 59.83 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.311, allocations: 55.48 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3114, allocations: 275 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3114, allocations: 0 / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3114, allocations: 0 / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3114, allocations: 0 / 1.288 GB, free: 8.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007018/0.3121, allocations: 452.8 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3122, allocations: 12.03 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.592e-05/0.3122, allocations: 192 / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.3122, allocations: 30.75 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.3123, allocations: 20.8 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3125, allocations: 210.6 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3125, allocations: 384 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3125, allocations: 12.31 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3127, allocations: 73.59 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3127, allocations: 4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3127, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3128, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.313, allocations: 83.94 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.3136, allocations: 375.8 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3138, allocations: 94.45 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3139, allocations: 48.89 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.3139, allocations: 15.98 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.314, allocations: 30.56 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.314, allocations: 4 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004749/0.3144, allocations: 185.4 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3145, allocations: 51.41 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.3149, allocations: 352.5 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3149, allocations: 25.7 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.315, allocations: 140.1 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.315, allocations: 7.953 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3151, allocations: 25.7 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3153, allocations: 342.9 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3155, allocations: 95.95 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3156, allocations: 95.94 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3159, allocations: 206.7 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3159, allocations: 0 / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003993/0.3163, allocations: 261.4 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3163, allocations: 4 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3164, allocations: 0 / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3164, allocations: 0 / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.3165, allocations: 11.98 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3165, allocations: 0 / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.3165, allocations: 11.89 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3165, allocations: 4 kB / 1.291 GB, free: 4.766 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001299/0.3167, allocations: 150.5 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.3167, allocations: 19.86 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.317, allocations: 154.7 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.317, allocations: 0 / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.317, allocations: 7.875 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3171, allocations: 0 / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3173, allocations: 216.6 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3173, allocations: 0 / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3174, allocations: 16.02 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3174, allocations: 0 / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3174, allocations: 0 / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3174, allocations: 0 / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3174, allocations: 0 / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3177, allocations: 235.3 kB / 1.292 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3177, allocations: 27.89 kB / 1.292 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3178, allocations: 0 / 1.292 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.3178, allocations: 7.984 kB / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.3179, allocations: 0 / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3179, allocations: 4 kB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002569/0.3181, allocations: 251 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3181, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003663/0.3185, allocations: 71.81 kB / 1.292 GB, free: 3.555 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0008513/0.3193, allocations: 0.8292 MB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.3197, allocations: 143.9 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3197, allocations: 4.031 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3198, allocations: 43.91 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3202, allocations: 14.2 kB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.3238, allocations: 2.731 MB / 1.296 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3243, allocations: 0.736 MB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.359e-05/0.3243, allocations: 20.42 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.3244, allocations: 55.42 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/0.3244, allocations: 0 / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3503, allocations: 4.429 MB / 1.301 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.06, allocations: 11.89 kB / 1.301 GB, free: 10.59 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.97064534999663]