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.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.0008074/0.0008074, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000827/0.000827, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 1.363e-06/1.363e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.175e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00173/0.001742, allocations: 1.521 MB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.002609, allocations: 0.721 MB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.00264, allocations: 0 / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.002838, allocations: 135.7 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.002909, allocations: 63.89 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.003399, allocations: 187.4 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.003496, allocations: 63.86 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.003534, allocations: 7.938 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.003592, allocations: 43.94 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.003698, allocations: 87.88 kB / 0.9533 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003714, allocations: 4 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.00401, allocations: 239.5 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.004093, allocations: 63.83 kB / 0.9536 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.004126, allocations: 23.88 kB / 0.9536 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.004434, allocations: 311.3 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004435, allocations: 0 / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004437, allocations: 3.938 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004441, allocations: 4 kB / 0.9539 GB, free: 15.97 MB / 0.9167 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.0005384/0.004979, allocations: 448.7 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.005021, allocations: 8.031 kB / 0.9544 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.00505, allocations: 34.75 kB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.005083, allocations: 24.75 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.005263, allocations: 202 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005275, allocations: 4.375 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.005284, allocations: 384 / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005419, allocations: 78.22 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.005427, allocations: 4.172 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005435, allocations: 8.125 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005439, allocations: 0 / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.005556, allocations: 87.92 kB / 0.9548 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.005935, allocations: 359.8 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006041, allocations: 94.47 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.0061, allocations: 48.83 kB / 0.9553 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.006135, allocations: 19.98 kB / 0.9553 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.006153, allocations: 34.55 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.006153, allocations: 0 / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0005241/0.006678, allocations: 177.5 kB / 0.9555 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.006707, allocations: 55.34 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.006939, allocations: 352.5 kB / 0.9559 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.006949, allocations: 25.7 kB / 0.9559 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.007017, allocations: 148.2 kB / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.007028, allocations: 7.891 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.007065, allocations: 25.7 kB / 0.9561 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.00715, allocations: 338.8 kB / 0.9564 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.007246, allocations: 95.94 kB / 0.9565 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.007325, allocations: 91.95 kB / 0.9566 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.007498, allocations: 208.7 kB / 0.9568 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.0075, allocations: 0 / 0.9568 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002214/0.007721, allocations: 257.3 kB / 0.957 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.007734, allocations: 4 kB / 0.957 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.007741, allocations: 0 / 0.957 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007754, allocations: 4 kB / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.007818, allocations: 11.98 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007822, allocations: 3.938 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.007857, allocations: 19.88 kB / 0.9571 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007863, allocations: 0 / 0.9571 GB, free: 12.56 MB / 0.9167 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 8.714e-05/0.00795, allocations: 149.8 kB / 0.9572 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.007972, allocations: 23.8 kB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.008149, allocations: 142.6 kB / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.008152, allocations: 4 kB / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.008157, allocations: 0 / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00816, allocations: 0 / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.008316, allocations: 204.7 kB / 0.9576 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008318, allocations: 3.938 kB / 0.9576 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.008346, allocations: 19.95 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.008348, allocations: 0 / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.008353, allocations: 0 / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008354, allocations: 0 / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.008356, allocations: 4 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.008514, allocations: 227.3 kB / 0.9578 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.008548, allocations: 27.8 kB / 0.9578 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.008562, allocations: 4 kB / 0.9578 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.371e-05/0.008606, allocations: 12.02 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.008636, allocations: 0 / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.008638, allocations: 0 / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001572/0.008796, allocations: 255 kB / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.008796, allocations: 0 / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002186/0.009014, allocations: 63.94 kB / 0.9581 GB, free: 11.37 MB / 0.9167 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.0004714/0.009486, allocations: 0.8331 MB / 0.959 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.009686, allocations: 147.9 kB / 0.9591 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009688, allocations: 0 / 0.9591 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.009744, allocations: 47.91 kB / 0.9591 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.009955, allocations: 16.59 kB / 0.9592 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.01195, allocations: 2.734 MB / 0.9618 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01205, allocations: 127.2 kB / 0.962 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.01208, allocations: 20.48 kB / 0.962 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.01215, allocations: 56.48 kB / 0.962 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01215, allocations: 0 / 0.962 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.02964, allocations: 4.991 MB / 0.9669 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.938, allocations: 5.438 kB / 0.9669 GB, free: 2.449 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.809580096043646]