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.001315/0.001315, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001417/0.001417, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 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.765/2.765, allocations: 476.8 MB / 0.7715 GB, free: 3.938 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.002112/0.002112, allocations: 63.86 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002988/0.3426, allocations: 1.508 MB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.344, allocations: 0.7068 MB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.3441, allocations: 0 / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.3443, allocations: 135.7 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.3445, allocations: 71.83 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.3451, allocations: 189.8 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3453, allocations: 67.86 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.3453, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.3454, allocations: 39.89 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.3455, allocations: 95.83 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3455, allocations: 0 / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.346, allocations: 255.6 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3461, allocations: 59.83 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.3462, allocations: 43.61 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.3466, allocations: 280.4 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3466, allocations: 0 / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.113e-06/0.3466, allocations: 4 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3466, allocations: 0 / 1.287 GB, free: 7.207 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.0007151/0.3473, allocations: 444.8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3473, allocations: 8.031 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.656e-05/0.3473, allocations: 192 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.3474, allocations: 34.75 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.3474, allocations: 24.8 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3477, allocations: 210.6 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3477, allocations: 4.359 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3477, allocations: 4.375 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3479, allocations: 81.59 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3479, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3479, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3479, allocations: 4 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3481, allocations: 79.94 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.3487, allocations: 359.8 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3489, allocations: 98.45 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.349, allocations: 48.89 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.3491, allocations: 19.98 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3491, allocations: 30.56 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3491, allocations: 0 / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000458/0.3496, allocations: 173.5 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.3496, allocations: 59.47 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.3501, allocations: 360.5 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3501, allocations: 25.7 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3502, allocations: 140 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3502, allocations: 11.95 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.3503, allocations: 29.64 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3505, allocations: 338.8 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3506, allocations: 95.89 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3508, allocations: 95.94 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.3511, allocations: 210.9 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3512, allocations: 0 / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004597/0.3516, allocations: 257.3 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3516, allocations: 4 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3516, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3517, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3518, allocations: 15.98 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3518, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.3518, allocations: 15.89 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3519, allocations: 4 kB / 1.291 GB, free: 3.793 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.0001588/0.352, allocations: 145.7 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3521, allocations: 19.86 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.3524, allocations: 138.7 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3524, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3524, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3524, allocations: 4.031 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3527, allocations: 216.6 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3527, allocations: 3.938 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.3528, allocations: 8 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3528, allocations: 0 / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3528, allocations: 8 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3528, allocations: 0 / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3528, allocations: 0 / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3531, allocations: 231.3 kB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.3532, allocations: 31.88 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3532, allocations: 4 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.3533, allocations: 7.984 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3533, allocations: 4 kB / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3533, allocations: 0 / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002897/0.3536, allocations: 251 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 0 / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004371/0.3541, allocations: 67.86 kB / 1.292 GB, free: 2.602 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.0009604/0.355, allocations: 0.8331 MB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.3554, allocations: 140 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3554, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3555, allocations: 47.91 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3558, allocations: 12.69 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.3593, allocations: 2.742 MB / 1.295 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3594, allocations: 123.3 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.402e-05/0.3595, allocations: 24.45 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.3596, allocations: 55.42 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3596, allocations: 0 / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.3858, allocations: 4.495 MB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.07, allocations: 6.531 kB / 1.3 GB, free: 10.2 MB / 0.9981 GB " [Timeout remaining time 288] (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.84418636490591]