Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001883/0.001883, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002588/0.002588, allocations: 220.7 kB / 23.05 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_12_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.002004/0.002004, allocations: 68.2 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002734/0.3688, allocations: 1.507 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3703, allocations: 0.8259 MB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.3703, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3705, allocations: 135.7 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.3711, allocations: 188.5 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3713, allocations: 84.02 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3714, allocations: 67.81 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.3715, allocations: 7.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.3715, allocations: 35.89 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3717, allocations: 99.75 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3717, allocations: 4 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.3721, allocations: 251.6 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3723, allocations: 107.7 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.3724, allocations: 103.1 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.3728, allocations: 346.6 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3728, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3728, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3728, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 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.0008725/0.3737, allocations: 0.5545 MB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3737, allocations: 8.031 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.162e-05/0.3737, allocations: 4.125 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.3737, allocations: 34.75 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.3738, allocations: 36.7 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.3747, allocations: 0.8638 MB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.3747, allocations: 384 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3747, allocations: 384 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3749, allocations: 85.59 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3749, allocations: 3.938 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3749, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3749, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.3751, allocations: 99.92 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.3759, allocations: 0.5466 MB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3761, allocations: 98.53 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3762, allocations: 60.88 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.3762, allocations: 23.98 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3763, allocations: 38.5 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3763, allocations: 0 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000488/0.3767, allocations: 213.4 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3768, allocations: 51.41 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3781, allocations: 1.209 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3781, allocations: 25.7 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3782, allocations: 184.2 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.3783, allocations: 3.953 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.3783, allocations: 13.72 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3785, allocations: 354.7 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3786, allocations: 47.97 kB / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3787, allocations: 51.91 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3789, allocations: 112.8 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3789, allocations: 0 / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003031/0.3792, allocations: 161.4 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3792, allocations: 8 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3792, allocations: 0 / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3793, allocations: 7.922 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.3793, allocations: 8.031 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3793, allocations: 0 / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.3794, allocations: 11.98 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3794, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 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.0001512/0.3796, allocations: 166.2 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.3796, allocations: 35.7 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.38, allocations: 176.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.38, allocations: 0 / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.38, allocations: 0 / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.38, allocations: 3.938 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.3803, allocations: 268.5 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3803, allocations: 8 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.3804, allocations: 7.984 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3804, allocations: 0 / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3804, allocations: 0 / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3804, allocations: 0 / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3804, allocations: 4 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3808, allocations: 267.2 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3809, allocations: 51.73 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3809, allocations: 7.984 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.381, allocations: 7.984 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.3811, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3811, allocations: 8.031 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001048/0.3821, allocations: 0.952 MB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3821, allocations: 0 / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004211/0.3825, allocations: 79.86 kB / 1.337 GB, free: 6.992 MB / 1.029 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.0009857/0.3835, allocations: 0.8487 MB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3839, allocations: 107.9 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3839, allocations: 0 / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.384, allocations: 51.97 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3844, allocations: 21.59 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.392, allocations: 6.777 MB / 1.345 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.3924, allocations: 0.7831 MB / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3925, allocations: 38.94 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3927, allocations: 91.39 kB / 1.346 GB, free: 14.15 MB / 1.045 GB Notification: Performance of SimCode: time 7.42e-07/0.3927, allocations: 4 kB / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.4293, allocations: 7.311 MB / 1.353 GB, free: 7.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.23, allocations: 1.406 kB / 1.353 GB, free: 7.004 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.28041878703516]