Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 189.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 100.3 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 12.84 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.5391, allocations: 162 MB / 1.381 GB, free: 4 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/0.5395, allocations: 80.05 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09891/0.6385, allocations: 28.5 MB / 1.409 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6385, allocations: 0 / 1.409 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000167/0.6387, allocations: 12 kB / 1.409 GB, free: 3.285 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.005107/0.6438, allocations: 1.185 MB / 1.41 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.6439, allocations: 8.031 kB / 1.41 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.6446, allocations: 79.06 kB / 1.41 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.6491, allocations: 1.257 MB / 1.411 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.6492, allocations: 36.5 kB / 1.411 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.6494, allocations: 43.91 kB / 1.411 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.6503, allocations: 362.7 kB / 1.412 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6503, allocations: 4 kB / 1.412 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.6504, allocations: 12 kB / 1.412 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.6504, allocations: 8 kB / 1.412 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.6511, allocations: 233.5 kB / 1.412 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.6558, allocations: 2.089 MB / 1.414 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.6573, allocations: 394.5 kB / 1.414 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.6573, allocations: 4 kB / 1.414 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.6573, allocations: 38.52 kB / 1.415 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 3.005e-06/0.6574, allocations: 0 / 1.415 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001485/0.6588, allocations: 0.5356 MB / 1.415 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.6589, allocations: 51.41 kB / 1.415 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.6612, allocations: 0.921 MB / 1.416 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.6613, allocations: 37.7 kB / 1.416 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.6617, allocations: 300.5 kB / 1.416 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.6619, allocations: 71 kB / 1.416 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.6619, allocations: 12 kB / 1.416 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.6622, allocations: 378.8 kB / 1.417 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.6628, allocations: 232.9 kB / 1.417 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.6636, allocations: 0.4936 MB / 1.417 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.6642, allocations: 305.9 kB / 1.418 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.6642, allocations: 4 kB / 1.418 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001474/0.6657, allocations: 0.8044 MB / 1.419 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.6657, allocations: 11.94 kB / 1.419 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.6658, allocations: 12.03 kB / 1.419 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.666, allocations: 64.81 kB / 1.419 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.6665, allocations: 131.8 kB / 1.419 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.668, allocations: 1.451 MB / 1.42 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6692, allocations: 199.1 kB / 1.42 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.6693, allocations: 24 kB / 1.42 GB, free: 6.965 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0005361/0.6698, allocations: 361.2 kB / 1.421 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.67, allocations: 59.25 kB / 1.421 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.6702, allocations: 66 kB / 1.421 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6702, allocations: 4 kB / 1.421 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6702, allocations: 0 / 1.421 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.6702, allocations: 3.984 kB / 1.421 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6713, allocations: 0.6726 MB / 1.422 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6713, allocations: 0 / 1.422 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.6715, allocations: 55.95 kB / 1.422 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.6717, allocations: 36.83 kB / 1.422 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.6718, allocations: 11.98 kB / 1.422 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.673, allocations: 1.428 MB / 1.423 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.673, allocations: 4 kB / 1.423 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.6739, allocations: 0.5749 MB / 1.424 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.6745, allocations: 356.2 kB / 1.424 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.6746, allocations: 15.97 kB / 1.424 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.6752, allocations: 87.84 kB / 1.424 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.6753, allocations: 7.984 kB / 1.424 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.6753, allocations: 4 kB / 1.424 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00113/0.6765, allocations: 0.6981 MB / 1.425 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6765, allocations: 0 / 1.425 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008999/0.6774, allocations: 191.8 kB / 1.425 GB, free: 2.094 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0003438/0.6777, allocations: 179.5 kB / 1.425 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.6788, allocations: 0.5624 MB / 1.426 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6788, allocations: 0 / 1.426 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.6791, allocations: 254.5 kB / 1.426 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.6799, allocations: 169.3 kB / 1.426 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5813/1.261, allocations: 1.769 MB / 1.428 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/1.262, allocations: 1.02 MB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006849/1.263, allocations: 180.2 kB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.263, allocations: 37 kB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.082e-06/1.263, allocations: 3.844 kB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.02264/1.285, allocations: 9.034 MB / 1.438 GB, free: 187 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches