Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00186/0.00186, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002002/0.002002, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.541/1.541, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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 3.355/3.355, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.68e-05, allocations: 5.656 kB / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003169/0.003196, allocations: 1.525 MB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.004684, allocations: 0.7362 MB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.004723, allocations: 0 / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.005005, allocations: 131 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.00513, allocations: 71.77 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.005828, allocations: 184.4 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.005981, allocations: 71.8 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.006019, allocations: 0 / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.00611, allocations: 40.97 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.006271, allocations: 95.81 kB / 0.8803 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.006289, allocations: 0 / 0.8803 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.006801, allocations: 240.7 kB / 0.8805 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.006919, allocations: 63.83 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.006977, allocations: 31.88 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.007496, allocations: 312.2 kB / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007498, allocations: 0 / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.007499, allocations: 0 / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.007504, allocations: 0.9062 kB / 0.8809 GB, free: 3.125 MB / 0.8386 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.0008289/0.008333, allocations: 0.5378 MB / 0.8814 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.00837, allocations: 8.562 kB / 0.8814 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.008437, allocations: 21.98 kB / 0.8815 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.008702, allocations: 184.8 kB / 0.8816 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.008715, allocations: 384 / 0.8816 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.008729, allocations: 9.422 kB / 0.8816 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.008885, allocations: 42.19 kB / 0.8817 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.008896, allocations: 4.188 kB / 0.8817 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.008904, allocations: 1.438 kB / 0.8817 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.00891, allocations: 3.938 kB / 0.8817 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.009027, allocations: 21.33 kB / 0.8817 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.009572, allocations: 347.7 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.009696, allocations: 44.09 kB / 0.8821 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.009771, allocations: 19.73 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.009825, allocations: 15.98 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.009873, allocations: 42.45 kB / 0.8822 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.009874, allocations: 0 / 0.8822 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003078/0.01018, allocations: 82.94 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.01023, allocations: 51.41 kB / 0.8823 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.01063, allocations: 369.7 kB / 0.8826 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01065, allocations: 25.7 kB / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.01081, allocations: 190.8 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.01082, allocations: 3.953 kB / 0.8828 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.01088, allocations: 39.3 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002823/0.01116, allocations: 0.5118 MB / 0.8834 GB, free: 404 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.01124, allocations: 24 kB / 0.8834 GB, free: 380 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.01131, allocations: 27.92 kB / 0.8834 GB, free: 352 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01146, allocations: 67.64 kB / 0.8835 GB, free: 284 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01146, allocations: 0 / 0.8835 GB, free: 284 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002515/0.01171, allocations: 119 kB / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.01173, allocations: 11.94 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01174, allocations: 3.938 kB / 0.8836 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01175, allocations: 128 / 0.8836 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.01183, allocations: 11.94 kB / 0.8836 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01183, allocations: 0 / 0.8836 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.01189, allocations: 19.83 kB / 0.8837 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.0119, allocations: 0 / 0.8837 GB, free: 112 kB / 0.8386 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.0001358/0.01203, allocations: 160.6 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.01208, allocations: 23.8 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.01228, allocations: 74.75 kB / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01229, allocations: 0 / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01229, allocations: 4.031 kB / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.01229, allocations: 0 / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.01255, allocations: 188.6 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01255, allocations: 4 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.01261, allocations: 7.984 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01261, allocations: 4 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01262, allocations: 3.938 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01263, allocations: 0 / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01263, allocations: 3.938 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.0129, allocations: 219.8 kB / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.01296, allocations: 23.89 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.01299, allocations: 7.938 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.01305, allocations: 4 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.01309, allocations: 3.984 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.0131, allocations: 4 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000234/0.01333, allocations: 231 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01333, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003567/0.01369, allocations: 71.86 kB / 0.8846 GB, free: 15.02 MB / 0.8542 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.0003427/0.01403, allocations: 163.1 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.01424, allocations: 55.61 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01425, allocations: 0 / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.01432, allocations: 31.61 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.0146, allocations: 11.16 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.01542, allocations: 322.8 kB / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.01558, allocations: 119.4 kB / 0.8853 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.01562, allocations: 12.48 kB / 0.8853 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.01566, allocations: 16.5 kB / 0.8853 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01566, allocations: 0 / 0.8853 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.006346/0.02201, allocations: 2.154 MB / 0.8875 GB, free: 12.09 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.48849992302712]