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.0007785/0.0007785, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008181/0.0008181, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8865/0.8865, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.716/1.716, 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.964e-06/1.964e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.477e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002813/0.002838, allocations: 1.517 MB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.004105, allocations: 0.7211 MB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.00415, allocations: 4 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.004393, allocations: 127.7 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.004508, allocations: 71.77 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.005192, allocations: 187.5 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.005312, allocations: 67.81 kB / 0.9532 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.00535, allocations: 3.938 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.005428, allocations: 51.86 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.005552, allocations: 83.89 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.005567, allocations: 0 / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.005991, allocations: 239.6 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.006091, allocations: 63.78 kB / 0.9536 GB, free: 308 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.006136, allocations: 27.86 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.006561, allocations: 307.2 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006564, allocations: 0 / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.203e-06/0.006565, allocations: 7.938 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.006572, allocations: 3.984 kB / 0.9539 GB, free: 15.96 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.0006202/0.007192, allocations: 436.8 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.007234, allocations: 12.03 kB / 0.9544 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.00727, allocations: 30.75 kB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.007313, allocations: 24.75 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.007537, allocations: 210 kB / 0.9546 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.007549, allocations: 384 / 0.9546 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.007561, allocations: 4.359 kB / 0.9546 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.007706, allocations: 86.06 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.007713, allocations: 192 / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.007721, allocations: 4.125 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.007726, allocations: 0 / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.00784, allocations: 83.94 kB / 0.9548 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.008198, allocations: 355.9 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.008299, allocations: 86.53 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.008362, allocations: 64.69 kB / 0.9553 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.0084, allocations: 15.98 kB / 0.9553 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.008419, allocations: 34.56 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.008419, allocations: 0 / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002807/0.0087, allocations: 177.5 kB / 0.9555 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.008728, allocations: 51.41 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.008968, allocations: 364.5 kB / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.008978, allocations: 25.7 kB / 0.9559 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.009053, allocations: 140.1 kB / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.009063, allocations: 3.953 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.009098, allocations: 25.72 kB / 0.9561 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.009193, allocations: 334.8 kB / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.009293, allocations: 103.9 kB / 0.9565 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.009372, allocations: 91.95 kB / 0.9566 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.009556, allocations: 208.7 kB / 0.9568 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009558, allocations: 4 kB / 0.9568 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002109/0.009769, allocations: 256.3 kB / 0.957 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.009785, allocations: 14.8 kB / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.009792, allocations: 0 / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.009803, allocations: 0 / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.009862, allocations: 4 kB / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.009867, allocations: 4 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.009901, allocations: 19.88 kB / 0.9571 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.009907, allocations: 3.938 kB / 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.355e-05/0.00999, allocations: 141.8 kB / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.01001, allocations: 23.8 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.01019, allocations: 146.7 kB / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01019, allocations: 8.062 kB / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01019, allocations: 0 / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.0102, allocations: 4.031 kB / 0.9574 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.01035, allocations: 208.7 kB / 0.9576 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01035, allocations: 3.938 kB / 0.9576 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.01038, allocations: 7.984 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.01038, allocations: 0 / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.01038, allocations: 4 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.01038, allocations: 0 / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01038, allocations: 3.938 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01055, allocations: 235.3 kB / 0.9578 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.01058, allocations: 31.78 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.0106, allocations: 0 / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.01064, allocations: 4 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.01067, allocations: 7.984 kB / 0.9579 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.01068, allocations: 4 kB / 0.9579 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001571/0.01083, allocations: 247 kB / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01083, allocations: 0 / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002213/0.01106, allocations: 67.86 kB / 0.9582 GB, free: 11.36 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.01153, allocations: 0.8332 MB / 0.959 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.01171, allocations: 143.9 kB / 0.9591 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01171, allocations: 0 / 0.9591 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.01177, allocations: 43.95 kB / 0.9592 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.0002118/0.01198, allocations: 12.66 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.001904/0.01388, allocations: 2.735 MB / 0.9618 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.173e-05/0.01397, allocations: 131.2 kB / 0.962 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.014, allocations: 20.48 kB / 0.962 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.01405, allocations: 52.48 kB / 0.962 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.01405, allocations: 0 / 0.962 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.02982, allocations: 4.99 MB / 0.9669 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/6.883, allocations: 2.344 kB / 0.9669 GB, free: 2.453 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/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.936855315230787]