Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001145/0.001145, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001012/0.001012, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9157/0.9157, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.903/1.903, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.027e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00211/0.00214, allocations: 1.541 MB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002986/0.002439, allocations: 107.7 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.002471, allocations: 0 / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.685e-05/0.002528, allocations: 9.594 kB / 0.8132 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.00259, allocations: 11.86 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.002813, allocations: 32.89 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.00291, allocations: 47.89 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.002999, allocations: 0 / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.003058, allocations: 28.55 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.003101, allocations: 19.92 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.00312, allocations: 4.906 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.67e-05/0.003196, allocations: 39.95 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.003234, allocations: 16.58 kB / 0.8134 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.003256, allocations: 15.92 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003394, allocations: 68.75 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.003397, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003398, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.003403, allocations: 0.75 kB / 0.8134 GB, free: 15.81 MB / 0.7761 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.0003988/0.003802, allocations: 397.1 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.003841, allocations: 12.03 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.003882, allocations: 14.14 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.003973, allocations: 120.5 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.003986, allocations: 4.375 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.003998, allocations: 2.406 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.004149, allocations: 74.94 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.004159, allocations: 4.188 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004168, allocations: 384 / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.004204, allocations: 12.36 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.004258, allocations: 28.86 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.004642, allocations: 331.5 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.004715, allocations: 36.67 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.004743, allocations: 15.69 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.004932, allocations: 43.25 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.004955, allocations: 34.36 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.004956, allocations: 4 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001663/0.005123, allocations: 53.58 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.005152, allocations: 57.03 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.005259, allocations: 212.4 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.00527, allocations: 29.64 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.00534, allocations: 166.6 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.00535, allocations: 12.52 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.00539, allocations: 35.33 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.005517, allocations: 0.4968 MB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.005545, allocations: 11.98 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.005618, allocations: 113 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.005714, allocations: 136.1 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005717, allocations: 1.219 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001246/0.005841, allocations: 118.7 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.005854, allocations: 8.812 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.00586, allocations: 0 / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.005878, allocations: 5.172 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.005966, allocations: 31.92 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.005974, allocations: 5.344 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.006018, allocations: 23.88 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.006031, allocations: 8 kB / 0.816 GB, free: 12.92 MB / 0.7761 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.174e-05/0.006103, allocations: 169.1 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.006121, allocations: 12.44 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.006226, allocations: 59.95 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.006229, allocations: 4 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.006232, allocations: 0.8438 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006235, allocations: 0 / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.006334, allocations: 136 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.006335, allocations: 0 / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.006369, allocations: 11.98 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006372, allocations: 4 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006378, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006379, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006379, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/0.006476, allocations: 203.8 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.006485, allocations: 11.89 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.006495, allocations: 4.609 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.006532, allocations: 7.938 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.00657, allocations: 12.48 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006574, allocations: 0.8438 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.006622, allocations: 147.1 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006622, allocations: 0.5 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001691/0.006791, allocations: 17.09 kB / 0.8168 GB, free: 12.07 MB / 0.7761 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 0.000108/0.006899, allocations: 107.2 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.007005, allocations: 50.08 kB / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007006, allocations: 0 / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.007027, allocations: 11.69 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.007205, allocations: 27.91 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.007486, allocations: 166.4 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.007523, allocations: 63.34 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.007574, allocations: 24.69 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.007605, allocations: 13.72 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.007606, allocations: 0.7188 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.002583/0.01019, allocations: 1.038 MB / 0.8182 GB, free: 10.55 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.139768865890801]