Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.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.001259/0.001259, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001396/0.001396, allocations: 173 kB / 23.49 MB, free: 1.055 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.9853/0.9853, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.119/2.119, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8782 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.928e-05, allocations: 6.312 kB / 0.8782 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001873/0.001892, allocations: 1.544 MB / 0.8797 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002741/0.002166, allocations: 120.4 kB / 0.8798 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.002208, allocations: 0 / 0.8798 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.59e-05/0.002264, allocations: 7.922 kB / 0.8798 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.002323, allocations: 12.41 kB / 0.8798 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.002533, allocations: 29.48 kB / 0.8798 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.002621, allocations: 54.09 kB / 0.8799 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.002708, allocations: 8 kB / 0.8799 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.002773, allocations: 23.97 kB / 0.8799 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.002814, allocations: 19.92 kB / 0.8799 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.002828, allocations: 4 kB / 0.88 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.002901, allocations: 31.95 kB / 0.88 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.002936, allocations: 15.92 kB / 0.88 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.002958, allocations: 19.98 kB / 0.88 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.003087, allocations: 67.78 kB / 0.8801 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003089, allocations: 0 / 0.8801 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003089, allocations: 1.906 kB / 0.8801 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003093, allocations: 0 / 0.8801 GB, free: 3.52 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003781/0.003471, allocations: 396.3 kB / 0.8805 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.003508, allocations: 8.031 kB / 0.8805 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.003727, allocations: 55.91 kB / 0.8805 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.003821, allocations: 116.6 kB / 0.8806 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.003832, allocations: 384 / 0.8806 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.003845, allocations: 5.5 kB / 0.8806 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.003994, allocations: 82.92 kB / 0.8807 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004002, allocations: 192 / 0.8807 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.004011, allocations: 1.344 kB / 0.8807 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.00404, allocations: 20.3 kB / 0.8807 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.004103, allocations: 42.33 kB / 0.8808 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.004503, allocations: 357.2 kB / 0.8811 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.00458, allocations: 43.06 kB / 0.8812 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.004612, allocations: 19.77 kB / 0.8812 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.00462, allocations: 0 / 0.8812 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.00464, allocations: 41.33 kB / 0.8812 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004641, allocations: 0.7188 kB / 0.8812 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.00481, allocations: 65.64 kB / 0.8813 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.004836, allocations: 53.06 kB / 0.8813 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.004933, allocations: 199.4 kB / 0.8815 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.004944, allocations: 29.7 kB / 0.8816 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.005006, allocations: 166.6 kB / 0.8817 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.005017, allocations: 16.33 kB / 0.8817 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.005056, allocations: 39.38 kB / 0.8818 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005162, allocations: 0.4941 MB / 0.8822 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.00519, allocations: 16 kB / 0.8823 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.00526, allocations: 119.2 kB / 0.8824 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.005365, allocations: 147.2 kB / 0.8825 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.005369, allocations: 8 kB / 0.8825 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001289/0.005497, allocations: 125.5 kB / 0.8826 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.005509, allocations: 4 kB / 0.8826 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005515, allocations: 7.984 kB / 0.8827 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005528, allocations: 4 kB / 0.8827 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.005634, allocations: 32.23 kB / 0.8827 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.005641, allocations: 7.984 kB / 0.8827 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.005692, allocations: 23.89 kB / 0.8827 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.0057, allocations: 4 kB / 0.8827 GB, free: 0.5352 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 7.772e-05/0.005778, allocations: 168.5 kB / 0.8829 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.005796, allocations: 7.953 kB / 0.8829 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.005827, allocations: 16.33 kB / 0.8829 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.00583, allocations: 4 kB / 0.8829 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.005833, allocations: 0 / 0.8829 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005836, allocations: 0 / 0.8829 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.005937, allocations: 140.5 kB / 0.883 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005938, allocations: 0 / 0.883 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.005975, allocations: 8 kB / 0.8831 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.005976, allocations: 0 / 0.8831 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.005982, allocations: 0 / 0.8831 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005983, allocations: 0 / 0.8831 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005984, allocations: 0 / 0.8831 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.006111, allocations: 215.8 kB / 0.8833 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.006118, allocations: 7.938 kB / 0.8833 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.00613, allocations: 4 kB / 0.8833 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.006174, allocations: 4 kB / 0.8833 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.006209, allocations: 7.984 kB / 0.8833 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.006212, allocations: 0 / 0.8833 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.006259, allocations: 149.4 kB / 0.8834 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006259, allocations: 0 / 0.8834 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000161/0.00642, allocations: 12 kB / 0.8834 GB, free: 15.73 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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 6.5e-05/0.006485, allocations: 91.25 kB / 0.8835 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.00661, allocations: 63.97 kB / 0.8836 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006611, allocations: 4.188 kB / 0.8836 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.006638, allocations: 19.69 kB / 0.8836 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.006821, allocations: 23.8 kB / 0.8836 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.007115, allocations: 162.6 kB / 0.8838 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.007153, allocations: 63.34 kB / 0.8838 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.007204, allocations: 24.47 kB / 0.8839 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.007237, allocations: 12.5 kB / 0.8839 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.007237, allocations: 3.938 kB / 0.8839 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.002404/0.009641, allocations: 1.023 MB / 0.8849 GB, free: 14.21 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.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.272760401945561]