Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, 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.001426/0.001426, allocations: 194.6 kB / 0.4902 GB, free: 2.219 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.000931/0.000931, allocations: 92.27 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 8.469 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3775, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.5949, allocations: 159.6 MB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5952, allocations: 83.95 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06784/0.6631, allocations: 18.64 MB / 1.403 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6631, allocations: 0 / 1.403 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.676e-05/0.6632, allocations: 23.98 kB / 1.403 GB, free: 6.988 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003793/0.667, allocations: 1.179 MB / 1.405 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.6671, allocations: 12.52 kB / 1.405 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004956/0.6676, allocations: 102.8 kB / 1.405 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.6706, allocations: 1.074 MB / 1.406 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.6706, allocations: 40.66 kB / 1.406 GB, free: 4.492 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6708, allocations: 56 kB / 1.406 GB, free: 4.438 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.6715, allocations: 406.8 kB / 1.406 GB, free: 4.004 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6715, allocations: 0 / 1.406 GB, free: 4.004 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.6716, allocations: 16 kB / 1.406 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.6716, allocations: 12 kB / 1.406 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.672, allocations: 226.4 kB / 1.406 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.6753, allocations: 2.298 MB / 1.409 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6766, allocations: 483.9 kB / 1.409 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.6767, allocations: 4.234 kB / 1.409 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6767, allocations: 46.72 kB / 1.409 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.6767, allocations: 0 / 1.409 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.002317/0.6791, allocations: 1.212 MB / 1.41 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.6791, allocations: 59.36 kB / 1.41 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.6804, allocations: 0.8169 MB / 1.411 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.6804, allocations: 37.7 kB / 1.411 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.6807, allocations: 372.7 kB / 1.412 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.6809, allocations: 110.4 kB / 1.412 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.6809, allocations: 12 kB / 1.412 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.6811, allocations: 402.7 kB / 1.412 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.6815, allocations: 217.8 kB / 1.412 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.6821, allocations: 0.6075 MB / 1.413 GB, free: 12.65 MB / 0.9167 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.002242/0.6843, allocations: 1.068 MB / 1.414 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.6843, allocations: 4 kB / 1.414 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001498/0.6858, allocations: 0.892 MB / 1.415 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.6859, allocations: 8 kB / 1.415 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.6859, allocations: 16 kB / 1.415 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.6861, allocations: 52.83 kB / 1.415 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.6868, allocations: 207.6 kB / 1.415 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.688, allocations: 1.377 MB / 1.416 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/0.689, allocations: 68.12 kB / 1.417 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.6891, allocations: 40 kB / 1.417 GB, free: 8.746 MB / 0.9167 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 () * Number of clocked 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.0004259/0.6895, allocations: 293.3 kB / 1.417 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.6896, allocations: 82.88 kB / 1.417 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.6898, allocations: 76.53 kB / 1.417 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6898, allocations: 7.953 kB / 1.417 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6898, allocations: 7.938 kB / 1.417 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6898, allocations: 3.984 kB / 1.417 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.6917, allocations: 1.198 MB / 1.418 GB, free: 7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6917, allocations: 0 / 1.418 GB, free: 7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.6922, allocations: 83.88 kB / 1.418 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.6923, allocations: 32.83 kB / 1.418 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.6923, allocations: 8 kB / 1.418 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00096/0.6933, allocations: 1.346 MB / 1.42 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6933, allocations: 3.938 kB / 1.42 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.6942, allocations: 0.701 MB / 1.42 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.6946, allocations: 208 kB / 1.42 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.6947, allocations: 20.05 kB / 1.42 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/0.6953, allocations: 27.97 kB / 1.421 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.6954, allocations: 27.97 kB / 1.421 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.6954, allocations: 4 kB / 1.421 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008439/0.6963, allocations: 0.6161 MB / 1.421 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6963, allocations: 3.938 kB / 1.421 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008154/0.6971, allocations: 207.9 kB / 1.421 GB, free: 3.52 MB / 0.9167 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 () * Number of clocked 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.0002796/0.6974, allocations: 172.9 kB / 1.422 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.6985, allocations: 0.6382 MB / 1.422 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6985, allocations: 0 / 1.422 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.6989, allocations: 275 kB / 1.422 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.6997, allocations: 159.4 kB / 1.423 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.7025, allocations: 1.912 MB / 1.424 GB, free: 308 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5529/1.255, allocations: 1.004 MB / 1.425 GB, free: 180 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000687/1.256, allocations: 153 kB / 1.426 GB, free: 180 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/1.256, allocations: 49.06 kB / 1.426 GB, free: 180 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/1.256, allocations: 0.7812 kB / 1.426 GB, free: 180 MB / 0.9167 GB Notification: Performance of Templates: time 0.02446/1.281, allocations: 9.148 MB / 1.435 GB, free: 179.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches