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.0008857/0.0008857, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008088/0.0008088, allocations: 165.9 kB / 22.45 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.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.8/1.8, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.489e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001659/0.001674, allocations: 1.475 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.002613, allocations: 0.768 MB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.002653, allocations: 3.938 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.002854, allocations: 131.7 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.003326, allocations: 190.7 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.003435, allocations: 71.73 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.003521, allocations: 71.8 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.003599, allocations: 4 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.003651, allocations: 51.86 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.003745, allocations: 87.89 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.003758, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.004052, allocations: 247.6 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.004156, allocations: 107.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.004198, allocations: 47.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.00453, allocations: 382.8 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004532, allocations: 0 / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004533, allocations: 0 / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.004538, allocations: 0 / 1.003 GB, free: 9.855 MB / 0.9636 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.0005868/0.005125, allocations: 0.5468 MB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.005161, allocations: 8.75 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.005188, allocations: 34.75 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.005227, allocations: 40.69 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.005773, allocations: 0.8592 MB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.005785, allocations: 8.359 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.005794, allocations: 4.375 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.00593, allocations: 82.22 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.005936, allocations: 192 / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.005946, allocations: 8.109 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.00595, allocations: 0 / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.006075, allocations: 103.9 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.006562, allocations: 0.5389 MB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.006676, allocations: 102.5 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.00674, allocations: 60.83 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.006777, allocations: 19.98 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.006797, allocations: 38.5 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.006798, allocations: 0 / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003165/0.007114, allocations: 213.4 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.007143, allocations: 55.41 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.007893, allocations: 1.216 MB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.007902, allocations: 25.7 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.007993, allocations: 180 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.00801, allocations: 7.938 kB / 1.007 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.008035, allocations: 13.72 kB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.008162, allocations: 346.8 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.008224, allocations: 60.02 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.008277, allocations: 47.97 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.008389, allocations: 108.7 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008391, allocations: 0 / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001597/0.00855, allocations: 173.4 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008563, allocations: 9.75 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.008569, allocations: 0 / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.008581, allocations: 0 / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.00864, allocations: 11.98 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.008644, allocations: 0 / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.008684, allocations: 4 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.008688, allocations: 0 / 1.008 GB, free: 4.766 MB / 0.9636 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 8.977e-05/0.008778, allocations: 161.8 kB / 1.008 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.008809, allocations: 39.7 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.009006, allocations: 184.1 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009008, allocations: 0 / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.009012, allocations: 0 / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.009014, allocations: 0 / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.009187, allocations: 252.7 kB / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009189, allocations: 3.938 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.009216, allocations: 8 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009218, allocations: 3.984 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.009224, allocations: 4.031 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.009225, allocations: 0 / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009226, allocations: 0 / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.009401, allocations: 263.2 kB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.009455, allocations: 55.72 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.009472, allocations: 0 / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.009526, allocations: 12 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.009558, allocations: 3.984 kB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.00956, allocations: 3.938 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005709/0.01013, allocations: 0.9598 MB / 1.01 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 1.01 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002563/0.01039, allocations: 71.88 kB / 1.01 GB, free: 2.688 MB / 0.9636 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.0005736/0.01096, allocations: 0.8566 MB / 1.011 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.01112, allocations: 111.9 kB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01113, allocations: 4 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.01119, allocations: 51.97 kB / 1.011 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01143, allocations: 21.64 kB / 1.011 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.01609, allocations: 6.812 MB / 1.018 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.01622, allocations: 181.9 kB / 1.018 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.683e-05/0.01628, allocations: 42.94 kB / 1.018 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.01637, allocations: 96.47 kB / 1.018 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of SimCode: time 9.52e-07/0.01638, allocations: 0 / 1.018 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.04013, allocations: 7.898 MB / 1.026 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.035, allocations: 22.38 kB / 1.026 GB, free: 2.641 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/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: 11.213538282550871]