Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.264/2.264, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001214/0.001214, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001131/0.001131, allocations: 95.89 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.246e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3198, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.349, allocations: 159.7 MB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.35, allocations: 88.56 kB / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1155/1.465, allocations: 29 MB / 1.403 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.854e-06/1.465, allocations: 0 / 1.403 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001192/1.465, allocations: 20 kB / 1.403 GB, free: 1.184 MB / 0.8542 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.002418/1.468, allocations: 0.9324 MB / 1.404 GB, free: 264 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.468, allocations: 12.03 kB / 1.404 GB, free: 252 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005485/1.468, allocations: 106.7 kB / 1.404 GB, free: 144 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/1.471, allocations: 1.048 MB / 1.405 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/1.471, allocations: 38.59 kB / 1.405 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.471, allocations: 61.66 kB / 1.405 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/1.472, allocations: 397.6 kB / 1.406 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.472, allocations: 7.938 kB / 1.406 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/1.472, allocations: 14.12 kB / 1.406 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.472, allocations: 11.98 kB / 1.406 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/1.472, allocations: 221.1 kB / 1.406 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/1.476, allocations: 2.58 MB / 1.408 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.478, allocations: 0.5411 MB / 1.409 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/1.478, allocations: 150.2 kB / 1.409 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/1.478, allocations: 7.984 kB / 1.409 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.478, allocations: 42.17 kB / 1.409 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.276e-06/1.478, allocations: 0 / 1.409 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0009999/1.479, allocations: 460.3 kB / 1.41 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/1.479, allocations: 55.41 kB / 1.41 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/1.48, allocations: 0.8031 MB / 1.41 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/1.481, allocations: 42.95 kB / 1.41 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/1.481, allocations: 362.7 kB / 1.411 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/1.481, allocations: 119.7 kB / 1.411 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/1.481, allocations: 14.38 kB / 1.411 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.481, allocations: 400.3 kB / 1.411 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/1.482, allocations: 236 kB / 1.411 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/1.482, allocations: 0.6288 MB / 1.412 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/1.483, allocations: 319.4 kB / 1.412 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.483, allocations: 4 kB / 1.412 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001684/1.485, allocations: 0.9945 MB / 1.413 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.485, allocations: 13.25 kB / 1.413 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/1.485, allocations: 16 kB / 1.413 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004346/1.485, allocations: 123.9 kB / 1.414 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/1.486, allocations: 195.5 kB / 1.414 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/1.49, allocations: 4.155 MB / 1.418 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.491, allocations: 137.7 kB / 1.418 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/1.491, allocations: 43.31 kB / 1.418 GB, free: 3.113 MB / 0.8698 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.0001743/1.491, allocations: 158.6 kB / 1.418 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/1.492, allocations: 86.94 kB / 1.418 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/1.492, allocations: 85.02 kB / 1.418 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/1.492, allocations: 4 kB / 1.418 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.492, allocations: 0 / 1.418 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.492, allocations: 0 / 1.418 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.493, allocations: 0.7154 MB / 1.419 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.493, allocations: 0 / 1.419 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/1.493, allocations: 63.89 kB / 1.419 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/1.494, allocations: 103.1 kB / 1.419 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/1.494, allocations: 14.67 kB / 1.419 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/1.497, allocations: 4.12 MB / 1.423 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.497, allocations: 3.984 kB / 1.423 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.498, allocations: 0.7144 MB / 1.424 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/1.498, allocations: 212.3 kB / 1.424 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.498, allocations: 11.55 kB / 1.424 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/1.499, allocations: 50.92 kB / 1.424 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/1.499, allocations: 19.97 kB / 1.424 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.499, allocations: 15.05 kB / 1.424 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008492/1.5, allocations: 0.5955 MB / 1.425 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/1.5, allocations: 0 / 1.425 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001088/1.501, allocations: 284.4 kB / 1.425 GB, free: 12.18 MB / 0.8855 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.0003093/1.502, allocations: 170 kB / 1.425 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.503, allocations: 0.9009 MB / 1.426 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.503, allocations: 1.938 kB / 1.426 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/1.504, allocations: 0.5117 MB / 1.427 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/1.504, allocations: 174.3 kB / 1.427 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/1.507, allocations: 1.388 MB / 1.428 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/1.507, allocations: 1.005 MB / 1.429 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004641/1.508, allocations: 149.8 kB / 1.429 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/1.508, allocations: 50.44 kB / 1.429 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/1.508, allocations: 0 / 1.429 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of Templates: time 0.02074/1.529, allocations: 10.75 MB / 1.44 GB, free: 13.41 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches