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.001316/0.001316, allocations: 101.3 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.001531/0.001531, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002315/0.002315, allocations: 69.64 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3735, allocations: 176.1 MB / 1.327 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003602/0.3771, allocations: 1.486 MB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3787, allocations: 0.7674 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.3788, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.379, allocations: 131.7 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007065/0.3797, allocations: 183.6 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.38, allocations: 80.02 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3802, allocations: 67.8 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3803, allocations: 11.94 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.3804, allocations: 39.88 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3805, allocations: 91.83 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3806, allocations: 8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.3811, allocations: 247.6 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.3813, allocations: 115.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.3814, allocations: 67.41 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.3819, allocations: 350.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3819, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3819, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3819, allocations: 0 / 1.33 GB, free: 14.02 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.0009101/0.3828, allocations: 0.5486 MB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3829, allocations: 12.03 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.412e-05/0.3829, allocations: 4.188 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.3829, allocations: 34.75 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.383, allocations: 36.7 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.3839, allocations: 0.8599 MB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3839, allocations: 4.312 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3839, allocations: 384 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3841, allocations: 89.58 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3841, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3842, allocations: 7.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3842, allocations: 4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3844, allocations: 103.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.3851, allocations: 0.5349 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.3853, allocations: 106.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3854, allocations: 56.88 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.3855, allocations: 23.98 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3855, allocations: 30.56 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.905e-06/0.3855, allocations: 8 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005093/0.386, allocations: 209.4 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3861, allocations: 59.28 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3875, allocations: 1.212 MB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3875, allocations: 25.7 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3877, allocations: 180.1 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3877, allocations: 3.953 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.3877, allocations: 9.719 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3879, allocations: 358.9 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.3881, allocations: 47.97 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3882, allocations: 51.97 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3884, allocations: 108.8 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3884, allocations: 0 / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003358/0.3888, allocations: 161.5 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3888, allocations: 13.64 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3888, allocations: 4 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3888, allocations: 0 / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3889, allocations: 8 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3889, allocations: 0 / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.389, allocations: 15.98 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.389, allocations: 0 / 1.335 GB, free: 8.926 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.0001888/0.3892, allocations: 166.2 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.3893, allocations: 35.8 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.3897, allocations: 172.2 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3897, allocations: 0 / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3897, allocations: 0 / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.3897, allocations: 3.984 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.39, allocations: 252.6 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.39, allocations: 7.938 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.3901, allocations: 11.92 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3901, allocations: 4.031 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3901, allocations: 0 / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3901, allocations: 4 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3901, allocations: 0 / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.3905, allocations: 259.2 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3906, allocations: 55.73 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3906, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3907, allocations: 7.984 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3907, allocations: 8.031 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3908, allocations: 0 / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00101/0.3918, allocations: 0.9559 MB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3918, allocations: 0 / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003882/0.3921, allocations: 71.86 kB / 1.337 GB, free: 6.855 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.0009806/0.3931, allocations: 0.8526 MB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.3934, allocations: 108 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3934, allocations: 0 / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3936, allocations: 55.91 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.394, allocations: 17.66 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/0.4021, allocations: 6.772 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.4023, allocations: 176.8 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.4024, allocations: 42.92 kB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4026, allocations: 91.41 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of SimCode: time 9.01e-07/0.4026, allocations: 4 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.433, allocations: 7.442 MB / 1.352 GB, free: 7.402 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.18, allocations: 17.08 kB / 1.352 GB, free: 7.387 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.39191365300212]