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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 109 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7542, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005033/0.7592, allocations: 3.734 MB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004148/0.7634, allocations: 2.497 MB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.7639, allocations: 11.94 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008682/0.7648, allocations: 256.3 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.7661, allocations: 0.4937 MB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.7675, allocations: 0.5339 MB / 1.216 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.7692, allocations: 1.367 MB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.7695, allocations: 149.1 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008171/0.7703, allocations: 462.3 kB / 1.218 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008477/0.7712, allocations: 478.1 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.7714, allocations: 52 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.7716, allocations: 60 kB / 1.218 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.772, allocations: 347 kB / 1.219 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.7725, allocations: 461.6 kB / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000847/0.7734, allocations: 0.9107 MB / 1.22 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7734, allocations: 4 kB / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7734, allocations: 0 / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.021e-05/0.7734, allocations: 0 / 1.22 GB, free: 1.82 MB / 0.9356 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.002283/0.7757, allocations: 1.249 MB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7758, allocations: 8.031 kB / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.776, allocations: 103.7 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.7771, allocations: 0.6637 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.7771, allocations: 37.03 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.7772, allocations: 64.25 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.7778, allocations: 406.9 kB / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.7778, allocations: 0 / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.7778, allocations: 12 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.7779, allocations: 8 kB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.7783, allocations: 226.4 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.7812, allocations: 2.498 MB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.7825, allocations: 491.1 kB / 1.225 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.7828, allocations: 157.2 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.7828, allocations: 8.234 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.7829, allocations: 30.8 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.7829, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.002091/0.785, allocations: 1.204 MB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.785, allocations: 59.41 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.7863, allocations: 0.9192 MB / 1.228 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.7864, allocations: 41.7 kB / 1.228 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.7867, allocations: 368.7 kB / 1.228 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.7868, allocations: 110.4 kB / 1.228 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.787, allocations: 170.6 kB / 1.228 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7872, allocations: 394.7 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.7876, allocations: 233.8 kB / 1.229 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.7882, allocations: 0.6192 MB / 1.23 GB, free: 7.141 MB / 0.9512 GB 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[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) 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])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.7912, allocations: 1.763 MB / 1.231 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.7912, allocations: 8 kB / 1.231 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00145/0.7927, allocations: 0.9067 MB / 1.232 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.7927, allocations: 14.34 kB / 1.232 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.7927, allocations: 16.78 kB / 1.232 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.7929, allocations: 52.83 kB / 1.232 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.7936, allocations: 207.6 kB / 1.233 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.7948, allocations: 1.457 MB / 1.234 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.7955, allocations: 43.97 kB / 1.234 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.7955, allocations: 40 kB / 1.234 GB, free: 2.262 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.7959, allocations: 301.4 kB / 1.234 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7961, allocations: 86.86 kB / 1.234 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.7962, allocations: 80.47 kB / 1.234 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.7962, allocations: 4 kB / 1.234 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7962, allocations: 0 / 1.234 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7962, allocations: 0 / 1.234 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.7978, allocations: 1.135 MB / 1.236 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7978, allocations: 4 kB / 1.236 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.7983, allocations: 83.88 kB / 1.236 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.7984, allocations: 36.95 kB / 1.236 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.7984, allocations: 8 kB / 1.236 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.7995, allocations: 1.441 MB / 1.237 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7995, allocations: 0 / 1.237 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.8004, allocations: 0.6481 MB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.8007, allocations: 208 kB / 1.238 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.8009, allocations: 8 kB / 1.238 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.8013, allocations: 24.09 kB / 1.238 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.8014, allocations: 15.98 kB / 1.238 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.8014, allocations: 12 kB / 1.238 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008686/0.8023, allocations: 0.6239 MB / 1.239 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8023, allocations: 0 / 1.239 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007565/0.803, allocations: 208 kB / 1.239 GB, free: 13.08 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.8032, allocations: 103.2 kB / 1.239 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.8043, allocations: 0.6494 MB / 1.24 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.8043, allocations: 0 / 1.24 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.8047, allocations: 274.8 kB / 1.24 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.8056, allocations: 175.1 kB / 1.24 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.808, allocations: 1.657 MB / 1.242 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.8086, allocations: 0.9877 MB / 1.243 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.8088, allocations: 51.44 kB / 1.243 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.8088, allocations: 0 / 1.243 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of Templates: time 0.01672/0.8256, allocations: 12.17 MB / 1.255 GB, free: 12.96 MB / 0.9825 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches