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.001095/0.001095, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009908/0.0009908, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8875/0.8875, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.902/1.902, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.423e-06/1.423e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.705e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00185/0.001867, allocations: 1.535 MB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.002145, allocations: 123.6 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.002177, allocations: 0.6562 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.179e-05/0.002229, allocations: 3.938 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.002287, allocations: 5.188 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.002509, allocations: 36.77 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.0026, allocations: 43.94 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.002688, allocations: 11.89 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.002743, allocations: 21.08 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.002784, allocations: 19.91 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.002802, allocations: 5.562 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.002875, allocations: 35.97 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.002914, allocations: 15.92 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.002935, allocations: 8 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.003063, allocations: 71.72 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003065, allocations: 1.531 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003065, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00307, allocations: 0 / 0.8134 GB, free: 15.8 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.003469, allocations: 402.1 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.003506, allocations: 12.03 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.003547, allocations: 8.891 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.003635, allocations: 124.5 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.003648, allocations: 384 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.003659, allocations: 5.656 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.003817, allocations: 82.86 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.003824, allocations: 192 / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.003834, allocations: 1.594 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.003866, allocations: 8.375 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.003916, allocations: 31.92 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.004289, allocations: 324.2 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.004366, allocations: 39.53 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.00439, allocations: 13.75 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.004562, allocations: 46.8 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.004584, allocations: 41.38 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.004584, allocations: 0 / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001504/0.004735, allocations: 54.27 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.004768, allocations: 55.34 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.004879, allocations: 209.6 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.004891, allocations: 25.7 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.004967, allocations: 175.3 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-06/0.004976, allocations: 11.94 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.005015, allocations: 35.95 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.005144, allocations: 0.4961 MB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.005175, allocations: 9.312 kB / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.005244, allocations: 112.5 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.005339, allocations: 131.5 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005342, allocations: 4.906 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001205/0.005462, allocations: 115.8 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005475, allocations: 4 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.005481, allocations: 7.938 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.005496, allocations: 7.438 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.005582, allocations: 27.98 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.00559, allocations: 7.984 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.005634, allocations: 19.83 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.005646, allocations: 8 kB / 0.816 GB, free: 12.91 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 6.618e-05/0.005713, allocations: 168.5 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.005728, allocations: 7.953 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.005838, allocations: 67.89 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00584, allocations: 0.5625 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.005843, allocations: 0 / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005847, allocations: 4.922 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.906e-05/0.005946, allocations: 136.6 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005947, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.005977, allocations: 13.08 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005978, allocations: 0 / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.005984, allocations: 0.5938 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005985, allocations: 4 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005986, allocations: 0.6562 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.344e-05/0.006079, allocations: 199.8 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.006086, allocations: 9.047 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.006101, allocations: 0 / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.006139, allocations: 19.95 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.006174, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.006178, allocations: 7.938 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.006224, allocations: 147.1 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006224, allocations: 0 / 0.8167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001684/0.006392, allocations: 20 kB / 0.8168 GB, free: 12.06 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 9.954e-05/0.006492, allocations: 95.25 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.006602, allocations: 52.73 kB / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006603, allocations: 0 / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.006628, allocations: 24.83 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.0068, allocations: 17.42 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.0002736/0.007074, allocations: 168.7 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.007108, allocations: 63.33 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.991e-05/0.007158, allocations: 22.33 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.007189, allocations: 19.92 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.007189, allocations: 3.938 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.002668/0.009858, allocations: 1.105 MB / 0.8183 GB, free: 10.46 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: 4.850246789865196]