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.0009454/0.0009454, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009833/0.0009833, allocations: 165 kB / 23.02 MB, free: 1.551 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.958/0.958, allocations: 177.1 MB / 203.4 MB, free: 5.652 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 2.165/2.165, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.261e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002659/0.002682, allocations: 1.538 MB / 0.8797 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.00426, allocations: 0.7831 MB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.004308, allocations: 3.562 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.00463, allocations: 131.7 kB / 0.8806 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.005342, allocations: 188.4 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.005627, allocations: 72.83 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.00576, allocations: 67.81 kB / 0.8809 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.005855, allocations: 5.125 kB / 0.8809 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.005921, allocations: 51.86 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.006034, allocations: 80.86 kB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.006052, allocations: 4 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.006401, allocations: 247.5 kB / 0.8813 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.006539, allocations: 108.5 kB / 0.8814 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.006596, allocations: 43.78 kB / 0.8814 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.006982, allocations: 338.5 kB / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006985, allocations: 0 / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006986, allocations: 0 / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.006992, allocations: 4 kB / 0.8817 GB, free: 2.711 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.0007099/0.007702, allocations: 0.6001 MB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.007745, allocations: 8.031 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.007801, allocations: 28.75 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.008042, allocations: 250.9 kB / 0.8826 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.008056, allocations: 384 / 0.8826 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.008071, allocations: 8.938 kB / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.008214, allocations: 51.55 kB / 0.8826 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.008227, allocations: 8.172 kB / 0.8826 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.008237, allocations: 1.156 kB / 0.8826 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.008248, allocations: 3.938 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.008282, allocations: 4.875 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.008717, allocations: 363.8 kB / 0.883 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.00878, allocations: 32.53 kB / 0.883 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.008902, allocations: 15.75 kB / 0.8831 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.008966, allocations: 15.98 kB / 0.8831 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.008992, allocations: 49.33 kB / 0.8831 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.008995, allocations: 3.984 kB / 0.8831 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.009194, allocations: 65.5 kB / 0.8832 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.009232, allocations: 51.41 kB / 0.8832 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.009587, allocations: 470.6 kB / 0.8837 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.0096, allocations: 29.7 kB / 0.8837 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.009725, allocations: 214.8 kB / 0.8839 GB, free: 304 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.009746, allocations: 7.891 kB / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.0098, allocations: 51.31 kB / 0.884 GB, free: 236 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.009986, allocations: 0.5235 MB / 0.8845 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.01002, allocations: 16.12 kB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.01006, allocations: 27.98 kB / 0.8845 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.01014, allocations: 46.64 kB / 0.8846 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01015, allocations: 0 / 0.8846 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002117/0.01036, allocations: 121.4 kB / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.01039, allocations: 11.92 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01039, allocations: 7.938 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01041, allocations: 0 / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01053, allocations: 28 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01054, allocations: 3.984 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.01057, allocations: 4 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.01058, allocations: 4 kB / 0.8847 GB, free: 15.42 MB / 0.8542 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 (15): * Single equations (assignments): 15 * 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.0002228/0.0108, allocations: 160.6 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.01083, allocations: 35.7 kB / 0.8849 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.01094, allocations: 67.88 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01094, allocations: 0 / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01095, allocations: 0 / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01095, allocations: 0 / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.01111, allocations: 216.6 kB / 0.8852 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01112, allocations: 4 kB / 0.8852 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.01114, allocations: 12.02 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01115, allocations: 0 / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.01115, allocations: 7.938 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01116, allocations: 0 / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01116, allocations: 0 / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.01127, allocations: 211.7 kB / 0.8854 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.01131, allocations: 35.8 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.01132, allocations: 3.938 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.01136, allocations: 7.984 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.0114, allocations: 4 kB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.0114, allocations: 4.031 kB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001759/0.01158, allocations: 299.1 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01158, allocations: 0 / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002527/0.01183, allocations: 87.8 kB / 0.8858 GB, free: 14.22 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.0002109/0.01204, allocations: 163.1 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.01216, allocations: 55.61 kB / 0.8861 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01216, allocations: 0 / 0.8861 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.01218, allocations: 11.69 kB / 0.8861 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01241, allocations: 13.56 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.01293, allocations: 463.4 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.013, allocations: 103.9 kB / 0.8866 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.01303, allocations: 26.62 kB / 0.8866 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.01307, allocations: 20.5 kB / 0.8867 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01307, allocations: 0 / 0.8867 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.004953/0.01802, allocations: 2.907 MB / 0.8895 GB, free: 10.41 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.507364177145064]