Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.5 MB / 257 MB, free: 6.961 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.001393/0.001393, allocations: 180.6 kB / 316.3 MB, free: 3.309 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.644/1.644, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008477/0.0008477, allocations: 98.22 kB / 0.6715 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.402e-05, allocations: 3.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2274, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7676/0.995, allocations: 141.6 MB / 1.023 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.9953, allocations: 78.33 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1068/1.102, allocations: 28.12 MB / 1.051 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.853e-06/1.102, allocations: 0 / 1.051 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.784e-05/1.102, allocations: 19.94 kB / 1.051 GB, free: 4.969 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.001575/1.104, allocations: 0.937 MB / 1.052 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.104, allocations: 12.03 kB / 1.052 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/1.104, allocations: 102.8 kB / 1.052 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/1.106, allocations: 1.05 MB / 1.053 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.106, allocations: 19.89 kB / 1.053 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/1.106, allocations: 32 kB / 1.053 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003448/1.107, allocations: 186.4 kB / 1.053 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/1.107, allocations: 352.8 kB / 1.054 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.107, allocations: 7.922 kB / 1.054 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/1.107, allocations: 4 kB / 1.054 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/1.107, allocations: 8 kB / 1.054 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/1.11, allocations: 2.493 MB / 1.056 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/1.111, allocations: 0.5164 MB / 1.057 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/1.112, allocations: 146.4 kB / 1.057 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/1.112, allocations: 4 kB / 1.057 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.112, allocations: 37.38 kB / 1.057 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/1.112, allocations: 4 kB / 1.057 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0007949/1.112, allocations: 436.6 kB / 1.057 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.113, allocations: 59.34 kB / 1.057 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/1.113, allocations: 0.7482 MB / 1.058 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/1.113, allocations: 25.7 kB / 1.058 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/1.114, allocations: 366.4 kB / 1.058 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/1.114, allocations: 115.8 kB / 1.058 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/1.114, allocations: 4 kB / 1.058 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.114, allocations: 390.9 kB / 1.059 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/1.114, allocations: 217.2 kB / 1.059 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/1.115, allocations: 0.6055 MB / 1.06 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/1.115, allocations: 309.3 kB / 1.06 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.115, allocations: 8 kB / 1.06 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001296/1.117, allocations: 0.8808 MB / 1.061 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.117, allocations: 12.55 kB / 1.061 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.117, allocations: 16 kB / 1.061 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/1.117, allocations: 126.6 kB / 1.061 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/1.118, allocations: 189.6 kB / 1.061 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.121, allocations: 4.032 MB / 1.065 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.122, allocations: 122.9 kB / 1.065 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/1.122, allocations: 46.75 kB / 1.065 GB, free: 7.418 MB / 0.6823 GB 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/1.122, allocations: 139.7 kB / 1.065 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/1.122, allocations: 82.41 kB / 1.065 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/1.122, allocations: 82.05 kB / 1.066 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.122, allocations: 4 kB / 1.066 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.122, allocations: 0 / 1.066 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.122, allocations: 0 / 1.066 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/1.123, allocations: 0.6546 MB / 1.066 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.123, allocations: 0 / 1.066 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/1.123, allocations: 67.88 kB / 1.066 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/1.124, allocations: 99.5 kB / 1.066 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/1.124, allocations: 7.438 kB / 1.066 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/1.126, allocations: 4.017 MB / 1.07 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.126, allocations: 3.953 kB / 1.07 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/1.127, allocations: 0.6942 MB / 1.071 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/1.127, allocations: 215.1 kB / 1.071 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/1.128, allocations: 0 / 1.071 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/1.128, allocations: 43.78 kB / 1.071 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/1.128, allocations: 23.72 kB / 1.071 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/1.128, allocations: 4 kB / 1.071 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00062/1.129, allocations: 0.5529 MB / 1.072 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.784e-06/1.129, allocations: 4 kB / 1.072 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009067/1.13, allocations: 291.6 kB / 1.072 GB, free: 0.7422 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/1.13, allocations: 169.3 kB / 1.072 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.131, allocations: 0.832 MB / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.131, allocations: 3.938 kB / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/1.132, allocations: 491.1 kB / 1.073 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/1.132, allocations: 154.6 kB / 1.074 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/1.134, allocations: 1.375 MB / 1.075 GB, free: 13.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/1.135, allocations: 1.004 MB / 1.076 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003711/1.135, allocations: 145.6 kB / 1.076 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/1.135, allocations: 51.44 kB / 1.076 GB, free: 12.74 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.135, allocations: 0 / 1.076 GB, free: 12.74 MB / 0.698 GB Notification: Performance of Templates: time 0.01489/1.15, allocations: 8.619 MB / 1.085 GB, free: 4.238 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches