Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001343/0.001343, 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.001586/0.001586, allocations: 210.5 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.793 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.802/2.802, allocations: 476 MB / 0.7699 GB, free: 4.707 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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002147/0.002147, allocations: 67.86 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003288/0.39, allocations: 1.484 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3921, allocations: 0.7652 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.3921, allocations: 4 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.3925, allocations: 123.8 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.3934, allocations: 195.2 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3936, allocations: 75.8 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3937, allocations: 63.86 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3939, allocations: 8 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.394, allocations: 39.83 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3941, allocations: 95.81 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3942, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.3947, allocations: 239.6 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.3949, allocations: 111.7 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.395, allocations: 79.38 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.3955, allocations: 352.3 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3955, allocations: 3.938 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3955, allocations: 0 / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3955, allocations: 0 / 1.286 GB, free: 8.816 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.001098/0.3966, allocations: 0.5468 MB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.3967, allocations: 8.031 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.3968, allocations: 30.75 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.3968, allocations: 40.7 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.398, allocations: 0.8638 MB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.398, allocations: 384 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.398, allocations: 4.375 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.3982, allocations: 85.78 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3983, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3983, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3983, allocations: 3.938 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.3985, allocations: 99.92 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.3995, allocations: 0.5427 MB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3997, allocations: 106.5 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.3999, allocations: 56.88 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.4, allocations: 23.98 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4, allocations: 34.5 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005617/0.4006, allocations: 221.4 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.4007, allocations: 51.41 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.4023, allocations: 1.209 MB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4023, allocations: 25.7 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.4025, allocations: 176.1 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.4025, allocations: 3.953 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.4025, allocations: 25.64 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4027, allocations: 346.8 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.4029, allocations: 52.08 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.403, allocations: 55.97 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.4032, allocations: 108.7 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4032, allocations: 0 / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003083/0.4035, allocations: 169.4 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4035, allocations: 4.094 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4035, allocations: 4 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4036, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4037, allocations: 11.98 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4037, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.4037, allocations: 8 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4038, allocations: 0 / 1.291 GB, free: 3.734 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 (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 prepare postOptimizeDAE: time 0.0001655/0.4039, allocations: 170.8 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.404, allocations: 35.77 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.4043, allocations: 176.1 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4043, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4043, allocations: 4 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4043, allocations: 0 / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4047, allocations: 256.6 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4047, allocations: 0 / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.4047, allocations: 8 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4047, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4047, allocations: 3.984 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4047, allocations: 4.031 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4047, allocations: 0 / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.4051, allocations: 267.1 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4052, allocations: 47.78 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.4053, allocations: 4 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4054, allocations: 4 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.4054, allocations: 3.984 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.4054, allocations: 4 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001015/0.4064, allocations: 0.952 MB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4064, allocations: 4 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000385/0.4068, allocations: 75.88 kB / 1.293 GB, free: 1.668 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.0008843/0.4077, allocations: 0.8525 MB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.408, allocations: 103.9 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.408, allocations: 4.094 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.4081, allocations: 55.95 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.4085, allocations: 25.59 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008042/0.4165, allocations: 6.764 MB / 1.3 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.4167, allocations: 174.1 kB / 1.301 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.737e-05/0.4168, allocations: 46.92 kB / 1.301 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.417, allocations: 87.41 kB / 1.301 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.417, allocations: 4 kB / 1.301 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.4566, allocations: 7.83 MB / 1.308 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 1.719 kB / 1.308 GB, free: 1.762 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.921238251030445]