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.001218/0.001218, 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.001263/0.001263, 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.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.72/1.72, allocations: 377.8 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.522e-06/1.522e-06, allocations: 0 / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.658e-05, allocations: 2.281 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001992/0.002008, allocations: 1.526 MB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.002988, allocations: 0.7089 MB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.003033, allocations: 0 / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.003236, allocations: 143.6 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.003311, allocations: 63.84 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.003898, allocations: 191.4 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.004016, allocations: 67.8 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.004053, allocations: 4 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.004113, allocations: 39.94 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.00421, allocations: 91.81 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.004223, allocations: 4 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.004553, allocations: 231.6 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.004648, allocations: 67.83 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.004683, allocations: 23.88 kB / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.005011, allocations: 315.1 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.005015, allocations: 4 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/0.005018, allocations: 4 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.005023, allocations: 0 / 0.9844 GB, free: 15.03 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.0005241/0.005547, allocations: 444.8 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.005592, allocations: 8.031 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.005624, allocations: 34.75 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.005663, allocations: 20.8 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.005846, allocations: 201.9 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005858, allocations: 4.375 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.005866, allocations: 4.312 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.006017, allocations: 82.22 kB / 0.9852 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.006023, allocations: 192 / 0.9852 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.006033, allocations: 4.125 kB / 0.9852 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.006037, allocations: 3.938 kB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.006156, allocations: 87.92 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.006571, allocations: 348 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.006683, allocations: 94.47 kB / 0.9857 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.006744, allocations: 52.83 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.006784, allocations: 19.97 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.006804, allocations: 30.56 kB / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.006805, allocations: 0 / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002771/0.007082, allocations: 177.5 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.007114, allocations: 59.52 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.007365, allocations: 364.3 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.007378, allocations: 29.69 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.007447, allocations: 140.1 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.007457, allocations: 3.953 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.007492, allocations: 25.7 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.007587, allocations: 338.8 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.00769, allocations: 95.94 kB / 0.987 GB, free: 12.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.00777, allocations: 94.91 kB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.007947, allocations: 212.5 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.00795, allocations: 0 / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002259/0.008176, allocations: 257.3 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.008191, allocations: 4 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.008197, allocations: 0 / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.008213, allocations: 4 kB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.008278, allocations: 11.92 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.008283, allocations: 4 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.00832, allocations: 19.88 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.008326, allocations: 0 / 0.9875 GB, free: 11.63 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 8.139e-05/0.008407, allocations: 137.8 kB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.008429, allocations: 23.8 kB / 0.9877 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.008608, allocations: 142.7 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008611, allocations: 4 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008614, allocations: 0 / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008617, allocations: 4.031 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.00877, allocations: 204.7 kB / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008772, allocations: 7.938 kB / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.008802, allocations: 11.98 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.008805, allocations: 0 / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.00881, allocations: 0 / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008811, allocations: 3.938 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.008813, allocations: 4 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.008975, allocations: 231.3 kB / 0.9883 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.009005, allocations: 35.81 kB / 0.9883 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.009018, allocations: 0 / 0.9883 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.009063, allocations: 11.98 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.009095, allocations: 0 / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.009097, allocations: 3.938 kB / 0.9883 GB, free: 10.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001611/0.009258, allocations: 255 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009258, allocations: 0 / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002412/0.009499, allocations: 63.88 kB / 0.9886 GB, free: 10.43 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.0004896/0.009989, allocations: 0.8371 MB / 0.9894 GB, free: 9.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.01018, allocations: 143.9 kB / 0.9896 GB, free: 9.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01018, allocations: 0 / 0.9896 GB, free: 9.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.01023, allocations: 43.97 kB / 0.9896 GB, free: 9.387 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01048, allocations: 16.64 kB / 0.9896 GB, free: 9.367 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.0124, allocations: 2.729 MB / 0.9923 GB, free: 6.562 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.01248, allocations: 132.8 kB / 0.9924 GB, free: 6.414 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.01251, allocations: 16.48 kB / 0.9924 GB, free: 6.398 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.01257, allocations: 56.48 kB / 0.9925 GB, free: 6.344 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.01257, allocations: 0 / 0.9925 GB, free: 6.344 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.03092, allocations: 4.98 MB / 0.9974 GB, free: 1.539 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.072, allocations: 8 kB / 0.9974 GB, free: 1.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 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.mat","/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.007688215002418]