Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009738/0.0009737, allocations: 92.31 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 180.9 kB / 16.92 MB, free: 6.289 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.6363, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003808/0.6402, allocations: 3.361 MB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004188/0.6444, allocations: 2.518 MB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.645, allocations: 7.938 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000822/0.6458, allocations: 222.8 kB / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.647, allocations: 465.9 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.6482, allocations: 471.1 kB / 1.031 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.6501, allocations: 1.605 MB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.6504, allocations: 133.3 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.6512, allocations: 382.4 kB / 1.033 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.6523, allocations: 490.2 kB / 1.033 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.6524, allocations: 28 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.6526, allocations: 36 kB / 1.033 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.6529, allocations: 319 kB / 1.033 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.6534, allocations: 451.4 kB / 1.034 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.654, allocations: 0.6739 MB / 1.035 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.654, allocations: 0 / 1.035 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/0.654, allocations: 0 / 1.035 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.654, allocations: 0 / 1.035 GB, free: 4.688 MB / 0.7794 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.002124/0.6561, allocations: 1.129 MB / 1.036 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6562, allocations: 15.98 kB / 1.036 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.6564, allocations: 99.81 kB / 1.036 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6575, allocations: 0.6402 MB / 1.036 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.6575, allocations: 37.03 kB / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.6576, allocations: 64.31 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.6582, allocations: 406.9 kB / 1.037 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6583, allocations: 0 / 1.037 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.6583, allocations: 12 kB / 1.037 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6583, allocations: 8 kB / 1.037 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.6587, allocations: 230.4 kB / 1.037 GB, free: 1.938 MB / 0.7794 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.0031/0.6618, allocations: 2.517 MB / 1.04 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.6631, allocations: 491 kB / 1.04 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.6633, allocations: 161.2 kB / 1.04 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.6634, allocations: 240 / 1.04 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.6634, allocations: 34.8 kB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 2.525e-06/0.6634, allocations: 4 kB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.002281/0.6657, allocations: 1.219 MB / 1.041 GB, free: 13.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6657, allocations: 55.41 kB / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6669, allocations: 0.9193 MB / 1.042 GB, free: 12.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.6669, allocations: 41.7 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.6672, allocations: 364.7 kB / 1.043 GB, free: 11.83 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.6673, allocations: 110.4 kB / 1.043 GB, free: 11.72 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.6674, allocations: 93.66 kB / 1.043 GB, free: 11.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.6676, allocations: 398.8 kB / 1.043 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.6681, allocations: 229.8 kB / 1.044 GB, free: 11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/0.6688, allocations: 0.627 MB / 1.044 GB, free: 10.18 MB / 0.795 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.003033/0.6719, allocations: 1.786 MB / 1.046 GB, free: 8.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.6719, allocations: 4 kB / 1.046 GB, free: 8.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001438/0.6733, allocations: 0.9032 MB / 1.047 GB, free: 7.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6734, allocations: 9.875 kB / 1.047 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.6734, allocations: 16.69 kB / 1.047 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.6736, allocations: 52.83 kB / 1.047 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.6743, allocations: 215.6 kB / 1.047 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.6755, allocations: 1.358 MB / 1.048 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.6762, allocations: 63.8 kB / 1.048 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.6763, allocations: 40 kB / 1.048 GB, free: 5.363 MB / 0.795 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0004144/0.6767, allocations: 301.5 kB / 1.049 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6768, allocations: 82.95 kB / 1.049 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.677, allocations: 76.53 kB / 1.049 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.677, allocations: 4 kB / 1.049 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.677, allocations: 3.938 kB / 1.049 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.677, allocations: 0 / 1.049 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.6787, allocations: 1.14 MB / 1.05 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6787, allocations: 3.938 kB / 1.05 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.6791, allocations: 92 kB / 1.05 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.6792, allocations: 32.83 kB / 1.05 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.6792, allocations: 8 kB / 1.05 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.6803, allocations: 1.323 MB / 1.051 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6803, allocations: 7.984 kB / 1.051 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009213/0.6812, allocations: 0.6674 MB / 1.052 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.6816, allocations: 192.1 kB / 1.052 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.6817, allocations: 11.98 kB / 1.052 GB, free: 1.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.6822, allocations: 27.92 kB / 1.052 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.6822, allocations: 23.91 kB / 1.052 GB, free: 1.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.6822, allocations: 12 kB / 1.052 GB, free: 1.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008021/0.6831, allocations: 0.62 MB / 1.053 GB, free: 496 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6831, allocations: 0 / 1.053 GB, free: 496 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007161/0.6838, allocations: 208 kB / 1.053 GB, free: 288 kB / 0.795 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.0001451/0.6839, allocations: 111.2 kB / 1.053 GB, free: 168 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.6852, allocations: 0.6429 MB / 1.054 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6852, allocations: 4 kB / 1.054 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.6856, allocations: 266 kB / 1.054 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/0.6866, allocations: 167.4 kB / 1.054 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.6895, allocations: 2.05 MB / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.6901, allocations: 0.9879 MB / 1.057 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.6903, allocations: 51.44 kB / 1.057 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.6903, allocations: 0 / 1.057 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.0179/0.7082, allocations: 11.98 MB / 1.069 GB, free: 15.96 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches