Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 110.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.88 kB / 1.104 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8273, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003032/0.8304, allocations: 1.505 MB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.8318, allocations: 0.7494 MB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.8318, allocations: 0 / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.8321, allocations: 131.7 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.8322, allocations: 67.84 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.8329, allocations: 185.3 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.833, allocations: 63.86 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.833, allocations: 0 / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.8331, allocations: 43.88 kB / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.8332, allocations: 91.83 kB / 1.272 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.8332, allocations: 4 kB / 1.272 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.8337, allocations: 231.6 kB / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.8338, allocations: 59.83 kB / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.8339, allocations: 59.48 kB / 1.272 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.8343, allocations: 275 kB / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8343, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8343, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8343, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9669 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.0008297/0.8351, allocations: 0.5135 MB / 1.273 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.8352, allocations: 12.03 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.8352, allocations: 34.75 kB / 1.273 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.8353, allocations: 28.75 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.8356, allocations: 248 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.8356, allocations: 8.297 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.8356, allocations: 8.375 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.8358, allocations: 73.8 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.8359, allocations: 0 / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.8359, allocations: 0 / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.8359, allocations: 7.984 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.8361, allocations: 83.94 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.8368, allocations: 404.7 kB / 1.274 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.837, allocations: 94.45 kB / 1.274 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.8371, allocations: 52.89 kB / 1.274 GB, free: 16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-05/0.8372, allocations: 15.98 kB / 1.274 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.8372, allocations: 30.56 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.8372, allocations: 0 / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005112/0.8378, allocations: 181.4 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.8378, allocations: 63.47 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.8382, allocations: 351.2 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.8383, allocations: 25.7 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.8384, allocations: 136.1 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.8384, allocations: 15.89 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.8385, allocations: 25.7 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.8387, allocations: 338.8 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.8388, allocations: 95.95 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.839, allocations: 95.94 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.8393, allocations: 207.4 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8393, allocations: 0 / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004314/0.8397, allocations: 249.5 kB / 1.275 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.8398, allocations: 11.88 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8398, allocations: 4 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.8398, allocations: 3.984 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.8399, allocations: 15.98 kB / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8399, allocations: 0 / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.84, allocations: 11.89 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.84, allocations: 4 kB / 1.275 GB, free: 14.08 MB / 0.9825 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.0001514/0.8401, allocations: 149.7 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.8402, allocations: 19.86 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.8405, allocations: 146.6 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.8405, allocations: 0 / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8405, allocations: 0 / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8405, allocations: 0 / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.8408, allocations: 245.5 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.8408, allocations: 0 / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.8409, allocations: 15.92 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8409, allocations: 0 / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8409, allocations: 4.031 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8409, allocations: 0 / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8409, allocations: 4 kB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.8412, allocations: 231.3 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.8413, allocations: 101 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.8414, allocations: 0 / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.8414, allocations: 12.02 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.8415, allocations: 4 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.8415, allocations: 0 / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002677/0.8418, allocations: 253.9 kB / 1.277 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8418, allocations: 0 / 1.277 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004047/0.8422, allocations: 59.94 kB / 1.277 GB, free: 12.77 MB / 0.9825 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.0009606/0.8431, allocations: 0.8414 MB / 1.277 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003577/0.8435, allocations: 135.9 kB / 1.278 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8435, allocations: 7.938 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.8436, allocations: 51.94 kB / 1.278 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.844, allocations: 18.47 kB / 1.278 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.8475, allocations: 2.727 MB / 1.28 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.8479, allocations: 0.7392 MB / 1.281 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.848, allocations: 12.55 kB / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.93e-05/0.8481, allocations: 55.42 kB / 1.281 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.8481, allocations: 0 / 1.281 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.878, allocations: 4.308 MB / 1.285 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.596/9.474, allocations: 6.562 kB / 1.285 GB, free: 3.863 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.454444028902799]