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.001746/0.001746, allocations: 101.5 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.0022/0.0022, allocations: 214.8 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.775/2.775, allocations: 476.7 MB / 0.7714 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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002119/0.002119, allocations: 66.33 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002855/0.3226, allocations: 1.506 MB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3241, allocations: 0.8315 MB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.3241, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.3244, allocations: 131.7 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006352/0.325, allocations: 187.6 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.3252, allocations: 79.25 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3253, allocations: 59.88 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.3254, allocations: 11.98 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.3255, allocations: 39.89 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3256, allocations: 95.75 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3256, allocations: 4 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.3261, allocations: 263.6 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3263, allocations: 107.7 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3264, allocations: 99.2 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.3268, allocations: 350.6 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3268, allocations: 0 / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3268, allocations: 0 / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3269, allocations: 0 / 1.288 GB, free: 8.02 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.0008748/0.3277, allocations: 0.5488 MB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3278, allocations: 12.03 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.513e-05/0.3278, allocations: 4.188 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.3278, allocations: 34.69 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.3279, allocations: 36.7 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/0.3288, allocations: 0.8599 MB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3288, allocations: 384 / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3288, allocations: 4.375 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.329, allocations: 85.59 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.329, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.329, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.329, allocations: 4 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.3292, allocations: 103.9 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.3299, allocations: 0.5465 MB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3301, allocations: 102.5 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3302, allocations: 64.88 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.3303, allocations: 15.98 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3303, allocations: 34.56 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3303, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005012/0.3308, allocations: 217.3 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3309, allocations: 59.53 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3321, allocations: 1.205 MB / 1.292 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3321, allocations: 25.7 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3322, allocations: 180.1 kB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3323, allocations: 3.953 kB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3323, allocations: 17.72 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3325, allocations: 350.7 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3326, allocations: 51.97 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3327, allocations: 51.97 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3329, allocations: 108.8 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3329, allocations: 0 / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003122/0.3332, allocations: 165.3 kB / 1.293 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3333, allocations: 12.08 kB / 1.293 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3333, allocations: 3.938 kB / 1.293 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3333, allocations: 4 kB / 1.293 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.3334, allocations: 7.984 kB / 1.293 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3334, allocations: 0 / 1.293 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.3334, allocations: 11.98 kB / 1.293 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3335, allocations: 4 kB / 1.293 GB, free: 2.922 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.0001513/0.3336, allocations: 169.7 kB / 1.293 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3337, allocations: 35.77 kB / 1.293 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.334, allocations: 172.1 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.334, allocations: 0 / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.334, allocations: 3.984 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.334, allocations: 0 / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.3343, allocations: 264.6 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3343, allocations: 0 / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.3344, allocations: 11.98 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3344, allocations: 4.031 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3344, allocations: 0 / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3344, allocations: 0 / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3344, allocations: 0 / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3347, allocations: 263.2 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3348, allocations: 51.73 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3349, allocations: 4.031 kB / 1.294 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.335, allocations: 15.98 kB / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.335, allocations: 3.938 kB / 1.294 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.335, allocations: 0 / 1.294 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009673/0.336, allocations: 0.952 MB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003849/0.3364, allocations: 79.86 kB / 1.295 GB, free: 0.8438 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.0009807/0.3374, allocations: 0.8449 MB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3376, allocations: 107.8 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3376, allocations: 4 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3378, allocations: 56.06 kB / 1.296 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3381, allocations: 21.59 kB / 1.296 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.346, allocations: 6.78 MB / 1.302 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.3464, allocations: 0.7791 MB / 1.303 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.029e-05/0.3465, allocations: 46.92 kB / 1.303 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3467, allocations: 91.34 kB / 1.303 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.3467, allocations: 0 / 1.303 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.3775, allocations: 7.306 MB / 1.31 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.42, allocations: 12.55 kB / 1.31 GB, free: 0.8477 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: 19.132087103032973]