Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001326/0.001326, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001495/0.001495, allocations: 216 kB / 22.25 MB, free: 5.117 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.031 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.47/3.47, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.002033/0.002033, allocations: 67.75 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3632, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002707/0.3659, allocations: 1.53 MB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3673, allocations: 0.783 MB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.3673, allocations: 0 / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3676, allocations: 131.8 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3677, allocations: 63.84 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.3684, allocations: 194.2 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3685, allocations: 63.81 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.3685, allocations: 8 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.3686, allocations: 43.88 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3687, allocations: 87.83 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3687, allocations: 4 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.3692, allocations: 255.6 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.3693, allocations: 63.81 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.3693, allocations: 55.48 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3697, allocations: 278.9 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3697, allocations: 0 / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3697, allocations: 0 / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3697, allocations: 4 kB / 1.356 GB, free: 4.848 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.0007436/0.3705, allocations: 444.8 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3705, allocations: 12.03 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.3705, allocations: 30.75 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3706, allocations: 20.8 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3708, allocations: 210.6 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.3708, allocations: 384 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3708, allocations: 384 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.371, allocations: 85.78 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.371, allocations: 0 / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.3711, allocations: 3.938 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.3711, allocations: 0 / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3713, allocations: 87.88 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.3718, allocations: 371.8 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.372, allocations: 86.53 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3721, allocations: 48.89 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.3721, allocations: 15.98 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3722, allocations: 30.56 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3722, allocations: 0 / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004568/0.3726, allocations: 189.4 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3727, allocations: 51.41 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3731, allocations: 356.4 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3731, allocations: 29.64 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3732, allocations: 136.1 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.3732, allocations: 3.953 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.3732, allocations: 33.83 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3734, allocations: 338.8 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3736, allocations: 91.95 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3737, allocations: 101.8 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.374, allocations: 204.7 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.374, allocations: 0 / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003914/0.3744, allocations: 263.8 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3744, allocations: 4 kB / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3744, allocations: 0 / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3745, allocations: 0 / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.3746, allocations: 11.98 kB / 1.359 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3746, allocations: 0 / 1.359 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.3746, allocations: 23.81 kB / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3746, allocations: 0 / 1.359 GB, free: 1.438 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 (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.0001307/0.3748, allocations: 153.7 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.3748, allocations: 19.86 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.3751, allocations: 146.6 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3751, allocations: 96 / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.3751, allocations: 7.984 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3751, allocations: 0 / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3754, allocations: 216.6 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3754, allocations: 4.031 kB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.3754, allocations: 7.984 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3754, allocations: 4 kB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.3755, allocations: 0 / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3755, allocations: 0 / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3755, allocations: 0 / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3758, allocations: 247.2 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.3758, allocations: 23.86 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3758, allocations: 0 / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.3759, allocations: 7.984 kB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.376, allocations: 0 / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.376, allocations: 3.984 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002609/0.3762, allocations: 255 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3762, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003657/0.3766, allocations: 71.86 kB / 1.361 GB, free: 224 kB / 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.0008387/0.3775, allocations: 0.8143 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3778, allocations: 151.9 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3778, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3779, allocations: 43.97 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3782, allocations: 16.64 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3817, allocations: 2.723 MB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.3821, allocations: 0.7392 MB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.879e-05/0.3822, allocations: 8.5 kB / 1.365 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3823, allocations: 67.34 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/0.3823, allocations: 0 / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.4158, allocations: 4.403 MB / 1.369 GB, free: 7.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 5.766 kB / 1.369 GB, free: 7.285 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.855459988117218]