Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.495/2.495, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001127/0.001127, allocations: 180 kB / 0.4902 GB, free: 2.25 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.718/1.718, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.001111/0.001111, allocations: 98.66 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 10.94 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.5193, allocations: 162.8 MB / 1.388 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.5196, allocations: 87.94 kB / 1.388 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09761/0.6173, allocations: 28.5 MB / 1.416 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6173, allocations: 0 / 1.416 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001412/0.6175, allocations: 12 kB / 1.416 GB, free: 9.969 MB / 0.9167 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.004112/0.6216, allocations: 1.191 MB / 1.417 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6217, allocations: 8.562 kB / 1.417 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.6222, allocations: 75.06 kB / 1.417 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.6255, allocations: 1.261 MB / 1.419 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.6256, allocations: 32.52 kB / 1.419 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6257, allocations: 36 kB / 1.419 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.6264, allocations: 374.7 kB / 1.419 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6264, allocations: 0 / 1.419 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.6265, allocations: 12 kB / 1.419 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.6265, allocations: 4 kB / 1.419 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.6269, allocations: 233.5 kB / 1.419 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.631, allocations: 2.082 MB / 1.421 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.6326, allocations: 394.5 kB / 1.422 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.6327, allocations: 4 kB / 1.422 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.6327, allocations: 42.5 kB / 1.422 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 5.25e-06/0.6328, allocations: 0 / 1.422 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001236/0.634, allocations: 0.5589 MB / 1.422 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.6341, allocations: 55.41 kB / 1.422 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.6355, allocations: 0.9056 MB / 1.423 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.6356, allocations: 33.7 kB / 1.423 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.6359, allocations: 308.4 kB / 1.423 GB, free: 2.082 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.636, allocations: 75.02 kB / 1.424 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.636, allocations: 8 kB / 1.424 GB, free: 2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6362, allocations: 382.8 kB / 1.424 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.6365, allocations: 228.9 kB / 1.424 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.637, allocations: 0.4972 MB / 1.425 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.6374, allocations: 299.7 kB / 1.425 GB, free: 484 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6375, allocations: 7.984 kB / 1.425 GB, free: 476 kB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.6613/1.299, allocations: 0.8001 MB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/1.299, allocations: 10.25 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.299, allocations: 9.062 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/1.299, allocations: 56.45 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/1.3, allocations: 142.8 kB / 1.426 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/1.301, allocations: 1.444 MB / 1.427 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/1.302, allocations: 202.2 kB / 1.427 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/1.302, allocations: 31 kB / 1.428 GB, free: 179.3 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.0004984/1.303, allocations: 339.5 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/1.303, allocations: 62.95 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/1.303, allocations: 65.06 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.303, allocations: 6.125 kB / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.303, allocations: 0 / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.303, allocations: 0 / 1.428 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/1.304, allocations: 0.6661 MB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.304, allocations: 4.453 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/1.304, allocations: 50.05 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/1.304, allocations: 46.47 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/1.304, allocations: 7.094 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000999/1.305, allocations: 1.426 MB / 1.43 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.305, allocations: 1.781 kB / 1.43 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/1.306, allocations: 0.5797 MB / 1.431 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/1.307, allocations: 348.2 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/1.307, allocations: 9.156 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/1.307, allocations: 90.72 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/1.307, allocations: 13.8 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.307, allocations: 3.25 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001166/1.309, allocations: 0.6996 MB / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.01e-07/1.309, allocations: 0 / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001131/1.31, allocations: 193.5 kB / 1.432 GB, free: 177.2 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.000356/1.31, allocations: 182.5 kB / 1.432 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.311, allocations: 0.5745 MB / 1.433 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.311, allocations: 3.156 kB / 1.433 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/1.312, allocations: 248.9 kB / 1.433 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/1.312, allocations: 164 kB / 1.433 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.316, allocations: 1.778 MB / 1.435 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/1.317, allocations: 1.02 MB / 1.436 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006274/1.317, allocations: 180 kB / 1.436 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/1.317, allocations: 39.97 kB / 1.436 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.683e-06/1.317, allocations: 3.391 kB / 1.436 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.02437/1.342, allocations: 9.041 MB / 1.445 GB, free: 175.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches