Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007685/0.0007685, 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.0007884/0.0007884, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8913/0.8913, 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.733/1.733, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.127e-05, allocations: 2.281 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001798/0.001819, allocations: 1.517 MB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.002729, allocations: 0.7089 MB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.002766, allocations: 0 / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.002965, allocations: 139.6 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.003044, allocations: 71.78 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.003578, allocations: 190.7 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.003671, allocations: 67.81 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.003707, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.003762, allocations: 47.88 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.003856, allocations: 91.88 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.003872, allocations: 0 / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.004154, allocations: 235.6 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.004235, allocations: 67.77 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.004266, allocations: 23.88 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.004605, allocations: 319.1 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004608, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.472e-06/0.00461, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.004614, allocations: 0 / 0.9844 GB, free: 15.05 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.0004769/0.005091, allocations: 448.8 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.005129, allocations: 12.03 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.005159, allocations: 30.75 kB / 0.9849 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.00519, allocations: 20.8 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.005363, allocations: 205.9 kB / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.005374, allocations: 384 / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.005383, allocations: 384 / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.005532, allocations: 78.22 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005541, allocations: 192 / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.005549, allocations: 4.125 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.005554, allocations: 7.938 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.005677, allocations: 91.86 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.006078, allocations: 355.9 kB / 0.9856 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.00619, allocations: 86.53 kB / 0.9857 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.00625, allocations: 52.81 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.006292, allocations: 19.98 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.00631, allocations: 38.56 kB / 0.9858 GB, free: 13.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.006311, allocations: 0 / 0.9858 GB, free: 13.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002868/0.006598, allocations: 177.4 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006629, allocations: 55.39 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.006875, allocations: 360.4 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.006885, allocations: 25.7 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.006961, allocations: 140.1 kB / 0.9865 GB, free: 12.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.006971, allocations: 8.078 kB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.007007, allocations: 25.7 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.007095, allocations: 338.8 kB / 0.9869 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.007198, allocations: 95.94 kB / 0.987 GB, free: 12.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.007281, allocations: 91.95 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.007463, allocations: 216.4 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.007465, allocations: 0 / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002271/0.007693, allocations: 260.4 kB / 0.9875 GB, free: 11.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.00771, allocations: 4 kB / 0.9875 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.007719, allocations: 4 kB / 0.9875 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.007735, allocations: 0 / 0.9875 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.007806, allocations: 7.984 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.007813, allocations: 0 / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.00785, allocations: 19.88 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007856, allocations: 0 / 0.9875 GB, free: 11.65 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 (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.0001064/0.007962, allocations: 145.8 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.007998, allocations: 23.8 kB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.008207, allocations: 146.6 kB / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.00821, allocations: 96 / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.008215, allocations: 3.984 kB / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008219, allocations: 0 / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.008377, allocations: 208.7 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.00838, allocations: 3.938 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.008414, allocations: 12.02 kB / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.008416, allocations: 0 / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.008423, allocations: 3.938 kB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.008425, allocations: 4 kB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008426, allocations: 0 / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.008603, allocations: 227.3 kB / 0.9883 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.008635, allocations: 39.67 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.008649, allocations: 0 / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.008694, allocations: 7.984 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.008733, allocations: 4.031 kB / 0.9883 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008737, allocations: 4 kB / 0.9883 GB, free: 10.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001752/0.008912, allocations: 255 kB / 0.9886 GB, free: 10.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.008913, allocations: 0 / 0.9886 GB, free: 10.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002832/0.009196, allocations: 71.86 kB / 0.9886 GB, free: 10.44 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.0006114/0.009807, allocations: 0.8215 MB / 0.9894 GB, free: 9.594 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.01004, allocations: 151.9 kB / 0.9896 GB, free: 9.445 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01004, allocations: 0 / 0.9896 GB, free: 9.445 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.0101, allocations: 43.97 kB / 0.9896 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.01042, allocations: 16.64 kB / 0.9896 GB, free: 9.383 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.01276, allocations: 2.719 MB / 0.9923 GB, free: 6.586 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01287, allocations: 135 kB / 0.9924 GB, free: 6.434 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.01291, allocations: 16.48 kB / 0.9924 GB, free: 6.418 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.01298, allocations: 56.48 kB / 0.9925 GB, free: 6.363 MB / 0.948 GB Notification: Performance of SimCode: time 1.844e-06/0.01298, allocations: 0 / 0.9925 GB, free: 6.363 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.0299, allocations: 4.979 MB / 0.9974 GB, free: 1.559 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.06, allocations: 14 kB / 0.9974 GB, free: 1.547 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.119991222396493]