Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009183/0.0009183, 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.0009617/0.0009617, 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.9095/0.9095, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.484e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.00181/0.001825, allocations: 1.479 MB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002873, allocations: 0.7633 MB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.002924, allocations: 0 / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.003152, allocations: 139.7 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.00368, allocations: 179.5 kB / 0.9835 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.003834, allocations: 83.83 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.003934, allocations: 67.7 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.004014, allocations: 3.984 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.004068, allocations: 47.88 kB / 0.9837 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.00416, allocations: 83.89 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.004172, allocations: 0 / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.004498, allocations: 251.5 kB / 0.984 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.004601, allocations: 107.7 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.004645, allocations: 47.8 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.005007, allocations: 382.8 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005009, allocations: 4 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00501, allocations: 0 / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.005015, allocations: 0 / 0.9845 GB, free: 14.96 MB / 0.948 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.0006435/0.005659, allocations: 0.5468 MB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.005692, allocations: 8.031 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.00572, allocations: 34.75 kB / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.00576, allocations: 36.7 kB / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.006313, allocations: 0.8708 MB / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.006324, allocations: 384 / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.006334, allocations: 12.31 kB / 0.986 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006466, allocations: 82.22 kB / 0.986 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.006474, allocations: 192 / 0.986 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006482, allocations: 4.125 kB / 0.986 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.006486, allocations: 3.938 kB / 0.9861 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.006607, allocations: 99.94 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.007086, allocations: 0.535 MB / 0.9867 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.007205, allocations: 110.5 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.007269, allocations: 60.81 kB / 0.9868 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.007308, allocations: 19.98 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.007327, allocations: 34.56 kB / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.007329, allocations: 0 / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002925/0.007621, allocations: 217.3 kB / 0.9871 GB, free: 12.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.007647, allocations: 55.53 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.008464, allocations: 1.209 MB / 0.9883 GB, free: 10.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.008477, allocations: 33.64 kB / 0.9884 GB, free: 10.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.008576, allocations: 176.1 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.008594, allocations: 3.953 kB / 0.9885 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.008625, allocations: 17.72 kB / 0.9885 GB, free: 10.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.008728, allocations: 346.8 kB / 0.9889 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.008811, allocations: 51.91 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.008872, allocations: 51.97 kB / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.008992, allocations: 108.8 kB / 0.9891 GB, free: 10.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008994, allocations: 0 / 0.9891 GB, free: 10.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.00917, allocations: 161.4 kB / 0.9892 GB, free: 9.906 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.009184, allocations: 8 kB / 0.9892 GB, free: 9.898 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.009189, allocations: 0 / 0.9892 GB, free: 9.898 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009201, allocations: 0 / 0.9892 GB, free: 9.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.009268, allocations: 19.95 kB / 0.9893 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.009274, allocations: 0 / 0.9893 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.009321, allocations: 15.88 kB / 0.9893 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.009325, allocations: 0 / 0.9893 GB, free: 9.863 MB / 0.948 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 0.0001056/0.009431, allocations: 165.8 kB / 0.9894 GB, free: 9.691 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.009464, allocations: 35.75 kB / 0.9895 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.009663, allocations: 172.2 kB / 0.9896 GB, free: 9.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009665, allocations: 4.031 kB / 0.9896 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.009673, allocations: 0 / 0.9896 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009676, allocations: 0 / 0.9896 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.009865, allocations: 248.7 kB / 0.9899 GB, free: 9.191 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.009867, allocations: 3.938 kB / 0.9899 GB, free: 9.188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.009896, allocations: 11.98 kB / 0.9899 GB, free: 9.176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009898, allocations: 0 / 0.9899 GB, free: 9.176 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.009905, allocations: 4 kB / 0.9899 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.009906, allocations: 0 / 0.9899 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009907, allocations: 3.938 kB / 0.9899 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01009, allocations: 263.2 kB / 0.9901 GB, free: 8.895 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.01015, allocations: 63.61 kB / 0.9902 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.01016, allocations: 0 / 0.9902 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.01022, allocations: 11.98 kB / 0.9902 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.01025, allocations: 0 / 0.9902 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.01025, allocations: 0 / 0.9902 GB, free: 8.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005778/0.01083, allocations: 0.9559 MB / 0.9912 GB, free: 7.871 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 0 / 0.9912 GB, free: 7.871 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002551/0.01108, allocations: 71.92 kB / 0.9912 GB, free: 7.801 MB / 0.948 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.0005165/0.0116, allocations: 0.8682 MB / 0.9921 GB, free: 6.902 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.01177, allocations: 103.9 kB / 0.9922 GB, free: 6.801 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01177, allocations: 0 / 0.9922 GB, free: 6.801 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.01183, allocations: 51.97 kB / 0.9922 GB, free: 6.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.01207, allocations: 28.78 kB / 0.9922 GB, free: 6.723 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.01658, allocations: 6.82 MB / 0.9989 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01669, allocations: 180.3 kB / 0.9991 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.595e-05/0.01674, allocations: 42.92 kB / 0.9991 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.01683, allocations: 92.47 kB / 0.9992 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.01683, allocations: 4 kB / 0.9992 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.03692, allocations: 7.909 MB / 1.007 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/6.936, allocations: 4.562 kB / 1.007 GB, free: 7.766 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.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_12_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.130597044713795]