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.002299/0.002299, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002571/0.002571, allocations: 217 kB / 22.25 MB, free: 5.078 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 8.023 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.515/3.515, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",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.002047/0.002047, allocations: 68.17 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3759, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002895/0.3788, allocations: 1.509 MB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3803, allocations: 0.8258 MB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.3803, allocations: 0 / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.3806, allocations: 135.7 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.3812, allocations: 192.7 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3814, allocations: 78.77 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3815, allocations: 67.81 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.3816, allocations: 3.984 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.3816, allocations: 43.83 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3818, allocations: 87.83 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3818, allocations: 8 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.3822, allocations: 259.6 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3824, allocations: 103.7 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3825, allocations: 107.1 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.383, allocations: 342.6 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.383, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.383, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.383, allocations: 0 / 1.356 GB, free: 4.691 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.0008473/0.3838, allocations: 0.5507 MB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3839, allocations: 12.03 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.3839, allocations: 34.73 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.384, allocations: 36.7 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008919/0.3848, allocations: 0.8637 MB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3849, allocations: 4.375 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3849, allocations: 384 / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3851, allocations: 85.78 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3851, allocations: 0 / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3851, allocations: 3.938 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3851, allocations: 4 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.3853, allocations: 103.9 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.386, allocations: 0.5544 MB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.3862, allocations: 98.53 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3863, allocations: 60.89 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.3863, allocations: 19.98 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3864, allocations: 38.5 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3864, allocations: 0 / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0005533/0.3869, allocations: 205.4 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.387, allocations: 55.53 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.3883, allocations: 1.216 MB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3883, allocations: 25.7 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3885, allocations: 176.1 kB / 1.361 GB, free: 400 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3885, allocations: 7.984 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.3885, allocations: 9.719 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3887, allocations: 350.8 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3888, allocations: 51.95 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3889, allocations: 52.53 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3891, allocations: 108.7 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3891, allocations: 4 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003023/0.3894, allocations: 161.4 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3894, allocations: 8.094 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3894, allocations: 0 / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3895, allocations: 0 / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.3896, allocations: 11.98 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3896, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.3896, allocations: 7.984 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3896, allocations: 4 kB / 1.361 GB, free: 15.61 MB / 1.061 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.0001469/0.3898, allocations: 165.7 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.3899, allocations: 35.77 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.3902, allocations: 192 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3902, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3902, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3902, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3905, allocations: 272.5 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3905, allocations: 0 / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.3906, allocations: 8 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3906, allocations: 4.031 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3906, allocations: 3.984 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3906, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3906, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.3909, allocations: 263.1 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.391, allocations: 55.72 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.391, allocations: 7.953 kB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3911, allocations: 12 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.3912, allocations: 3.984 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3912, allocations: 0 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009326/0.3921, allocations: 0.9559 MB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3921, allocations: 0 / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003743/0.3925, allocations: 67.88 kB / 1.363 GB, free: 13.51 MB / 1.061 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.0009056/0.3934, allocations: 0.8565 MB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3937, allocations: 103.9 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3937, allocations: 0 / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3938, allocations: 56.05 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3941, allocations: 23.53 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008391/0.4025, allocations: 6.772 MB / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.403, allocations: 0.7791 MB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.732e-05/0.403, allocations: 46.92 kB / 1.372 GB, free: 4.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.4032, allocations: 95.41 kB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of SimCode: time 1.162e-06/0.4032, allocations: 0 / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.4377, allocations: 7.266 MB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.1, allocations: 15.3 kB / 1.379 GB, free: 13.52 MB / 1.076 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.239333727164194]