Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001649/0.001649, 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.002477/0.002477, allocations: 216.7 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_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.002014/0.002014, allocations: 71.66 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002714/0.3652, allocations: 1.495 MB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3667, allocations: 0.8336 MB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.3667, allocations: 0 / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.3669, allocations: 131.7 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.3676, allocations: 183.6 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3677, allocations: 80.02 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3679, allocations: 71.73 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.368, allocations: 4 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.368, allocations: 43.88 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3682, allocations: 91.83 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3682, allocations: 4 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.3686, allocations: 247.6 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3687, allocations: 123.6 kB / 1.349 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.3688, allocations: 95.16 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.3693, allocations: 342.7 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3693, allocations: 0 / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3693, allocations: 0 / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3693, allocations: 0 / 1.349 GB, free: 12.72 MB / 1.045 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.0008572/0.3702, allocations: 0.5584 MB / 1.35 GB, free: 12.13 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3702, allocations: 12.03 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.251e-05/0.3702, allocations: 192 / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.3702, allocations: 30.75 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.3703, allocations: 36.7 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.3712, allocations: 0.8637 MB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3712, allocations: 8.375 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3712, allocations: 384 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3714, allocations: 85.59 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3714, allocations: 4 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3714, allocations: 0 / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3714, allocations: 3.984 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.3716, allocations: 99.94 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.3723, allocations: 0.5582 MB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3725, allocations: 106.5 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3726, allocations: 56.89 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.3727, allocations: 23.73 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3727, allocations: 34.55 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3727, allocations: 4 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004844/0.3732, allocations: 213.3 kB / 1.352 GB, free: 9.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3732, allocations: 51.41 kB / 1.352 GB, free: 9.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3744, allocations: 1.212 MB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3744, allocations: 29.7 kB / 1.353 GB, free: 8.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3746, allocations: 180 kB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3746, allocations: 4 kB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.3746, allocations: 9.719 kB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3748, allocations: 358.9 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3749, allocations: 47.97 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.375, allocations: 47.97 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.3752, allocations: 108.8 kB / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3752, allocations: 0 / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002945/0.3755, allocations: 169.4 kB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3755, allocations: 4 kB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3755, allocations: 0 / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3756, allocations: 0 / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3757, allocations: 11.98 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3757, allocations: 3.938 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.3757, allocations: 7.984 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3757, allocations: 4 kB / 1.354 GB, free: 7.605 MB / 1.045 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.0001398/0.3759, allocations: 169.8 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.376, allocations: 35.77 kB / 1.354 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.3763, allocations: 168.2 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3763, allocations: 4 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3763, allocations: 3.938 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3763, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.3766, allocations: 268.5 kB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3766, allocations: 4.031 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.3766, allocations: 11.98 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3766, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3766, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3767, allocations: 4 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3767, allocations: 0 / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.377, allocations: 267.2 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3771, allocations: 51.73 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3771, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3772, allocations: 7.984 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.3773, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3773, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009506/0.3782, allocations: 0.9559 MB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000497/0.3787, allocations: 71.81 kB / 1.356 GB, free: 5.527 MB / 1.045 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.0008373/0.3796, allocations: 0.8576 MB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3798, allocations: 112 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3798, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.38, allocations: 51.91 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3803, allocations: 25.66 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.3876, allocations: 6.776 MB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.388, allocations: 0.7791 MB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.178e-05/0.3881, allocations: 42.92 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3882, allocations: 95.39 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of SimCode: time 7.62e-07/0.3882, allocations: 0 / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.4184, allocations: 7.309 MB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.23, allocations: 12.88 kB / 1.371 GB, free: 5.516 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.418800294050016]