Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 176.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 100.7 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.619e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7544/0.9817, allocations: 141.5 MB / 1.023 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.982, allocations: 78.2 kB / 1.023 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06387/1.046, allocations: 18.13 MB / 1.041 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743e-06/1.046, allocations: 0 / 1.041 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.514e-05/1.046, allocations: 19.94 kB / 1.041 GB, free: 13.23 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001451/1.047, allocations: 0.9393 MB / 1.042 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.048, allocations: 12.03 kB / 1.042 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/1.048, allocations: 98.78 kB / 1.042 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/1.05, allocations: 1.063 MB / 1.043 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.05, allocations: 12 kB / 1.043 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/1.05, allocations: 36.66 kB / 1.043 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003295/1.05, allocations: 183.2 kB / 1.043 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/1.051, allocations: 341.8 kB / 1.044 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.051, allocations: 3.953 kB / 1.044 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/1.051, allocations: 0 / 1.044 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.051, allocations: 12 kB / 1.044 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/1.054, allocations: 2.202 MB / 1.046 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.055, allocations: 471.6 kB / 1.046 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.055, allocations: 140.7 kB / 1.047 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/1.055, allocations: 4.234 kB / 1.047 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/1.055, allocations: 34.8 kB / 1.047 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/1.055, allocations: 0 / 1.047 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.001525/1.057, allocations: 0.916 MB / 1.047 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.057, allocations: 59.41 kB / 1.048 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/1.058, allocations: 0.7522 MB / 1.048 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/1.058, allocations: 33.7 kB / 1.048 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/1.058, allocations: 361.2 kB / 1.049 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.058, allocations: 108.9 kB / 1.049 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/1.058, allocations: 0 / 1.049 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.058, allocations: 394.4 kB / 1.049 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/1.059, allocations: 195.1 kB / 1.049 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/1.059, allocations: 0.5803 MB / 1.05 GB, free: 5.25 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.061, allocations: 0.9942 MB / 1.051 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.061, allocations: 4 kB / 1.051 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001217/1.062, allocations: 0.7618 MB / 1.052 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.062, allocations: 12.88 kB / 1.052 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.062, allocations: 16 kB / 1.052 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/1.063, allocations: 55.89 kB / 1.052 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/1.063, allocations: 207.1 kB / 1.052 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/1.064, allocations: 1.333 MB / 1.053 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/1.065, allocations: 47.8 kB / 1.053 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/1.065, allocations: 46.77 kB / 1.053 GB, free: 1.977 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001876/1.066, allocations: 168.3 kB / 1.053 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.066, allocations: 78.95 kB / 1.053 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/1.066, allocations: 74.67 kB / 1.054 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.066, allocations: 4 kB / 1.054 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.066, allocations: 4 kB / 1.054 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.066, allocations: 3.984 kB / 1.054 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/1.067, allocations: 1.111 MB / 1.055 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.068, allocations: 0 / 1.055 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/1.068, allocations: 87.25 kB / 1.055 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/1.068, allocations: 32.78 kB / 1.055 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/1.068, allocations: 15.88 kB / 1.055 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009908/1.069, allocations: 1.294 MB / 1.056 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/1.069, allocations: 3.938 kB / 1.056 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/1.07, allocations: 0.6513 MB / 1.057 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/1.07, allocations: 205.8 kB / 1.057 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/1.07, allocations: 7.938 kB / 1.057 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/1.071, allocations: 39.8 kB / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/1.071, allocations: 27.11 kB / 1.057 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/1.071, allocations: 11.94 kB / 1.057 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006706/1.072, allocations: 0.5443 MB / 1.058 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.072, allocations: 0 / 1.058 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007683/1.072, allocations: 192 kB / 1.058 GB, free: 13.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/1.073, allocations: 166.9 kB / 1.058 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009624/1.074, allocations: 0.5665 MB / 1.058 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.074, allocations: 0 / 1.058 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/1.074, allocations: 247.9 kB / 1.059 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/1.075, allocations: 154.2 kB / 1.059 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.077, allocations: 1.253 MB / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/1.077, allocations: 1.004 MB / 1.061 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004463/1.078, allocations: 149.6 kB / 1.061 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/1.078, allocations: 51.44 kB / 1.061 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/1.078, allocations: 0 / 1.061 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.01442/1.092, allocations: 7.555 MB / 1.069 GB, free: 2.98 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches