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.001352/0.001352, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001545/0.001545, allocations: 217.6 kB / 22.25 MB, free: 5.125 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.973 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.865/2.865, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",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.002066/0.002066, allocations: 64.78 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002961/0.3121, allocations: 1.532 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3135, allocations: 0.7846 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.3135, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3138, allocations: 131.7 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3139, allocations: 71.83 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.3146, allocations: 199.9 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3147, allocations: 59.88 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.3148, allocations: 3.984 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.3148, allocations: 39.89 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.315, allocations: 91.83 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.315, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.3155, allocations: 263.6 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3156, allocations: 59.83 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.3157, allocations: 55.48 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.3161, allocations: 279 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3161, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3161, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3161, allocations: 0 / 1.287 GB, free: 8.164 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.0007428/0.3169, allocations: 444.8 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3169, allocations: 8.031 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.3169, allocations: 34.69 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.317, allocations: 24.8 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3173, allocations: 202.7 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3173, allocations: 8.375 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3173, allocations: 384 / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3175, allocations: 81.72 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3175, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3175, allocations: 3.984 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3175, allocations: 4 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3177, allocations: 83.92 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.3184, allocations: 375.7 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3185, allocations: 94.45 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3186, allocations: 48.89 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.3187, allocations: 15.98 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3187, allocations: 42.56 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3187, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000461/0.3192, allocations: 177.4 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3192, allocations: 51.41 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.3197, allocations: 356.5 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3197, allocations: 29.69 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3198, allocations: 140.2 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.3199, allocations: 3.953 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.3199, allocations: 29.7 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3201, allocations: 334.8 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3202, allocations: 95.94 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3204, allocations: 97.91 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.3208, allocations: 212.7 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3208, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004129/0.3212, allocations: 256 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3212, allocations: 4 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/0.3212, allocations: 4 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3212, allocations: 0 / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3213, allocations: 7.984 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3213, allocations: 0 / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.3214, allocations: 19.89 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3214, allocations: 4 kB / 1.29 GB, free: 4.746 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.0001471/0.3215, allocations: 145.7 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3216, allocations: 23.81 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.3219, allocations: 142.6 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3219, allocations: 4 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3219, allocations: 4.031 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3219, allocations: 3.938 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.3222, allocations: 212.6 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3222, allocations: 0 / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3222, allocations: 8 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3222, allocations: 0 / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3222, allocations: 0 / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3222, allocations: 3.984 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3222, allocations: 0 / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3225, allocations: 235.3 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.3226, allocations: 27.84 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3226, allocations: 4 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.3227, allocations: 3.984 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3228, allocations: 15.88 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.3228, allocations: 4 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002655/0.323, allocations: 255.1 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.323, allocations: 0 / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003631/0.3234, allocations: 67.86 kB / 1.291 GB, free: 3.535 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.0009202/0.3243, allocations: 0.8215 MB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.3247, allocations: 143.8 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3247, allocations: 0 / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3248, allocations: 43.97 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3252, allocations: 10.2 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.3287, allocations: 2.735 MB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3291, allocations: 0.7373 MB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.3291, allocations: 20.48 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3292, allocations: 59.36 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.3292, allocations: 0 / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3645, allocations: 4.393 MB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.98, allocations: 14.36 kB / 1.3 GB, free: 10.6 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.697212286992]