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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001618/0.001618, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001824/0.001824, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6493, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004594/0.654, allocations: 3.761 MB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003791/0.6578, allocations: 2.529 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.6581, allocations: 15.88 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.6588, allocations: 230.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008133/0.6596, allocations: 466 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.6606, allocations: 476.2 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.662, allocations: 1.617 MB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.6622, allocations: 129.3 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.6627, allocations: 386.5 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.6633, allocations: 0.4903 MB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.6634, allocations: 36 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.6635, allocations: 36 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.6638, allocations: 319 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.6642, allocations: 437.5 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.6649, allocations: 0.8717 MB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6649, allocations: 11.98 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6649, allocations: 0 / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.6649, allocations: 0 / 1.028 GB, free: 6.973 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.001985/0.6669, allocations: 1.238 MB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6669, allocations: 19.98 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.6671, allocations: 103.7 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.668, allocations: 0.6403 MB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.668, allocations: 37.03 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.6681, allocations: 64.22 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.6687, allocations: 402.9 kB / 1.03 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6687, allocations: 4 kB / 1.03 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.6687, allocations: 8 kB / 1.03 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.6687, allocations: 11.98 kB / 1.031 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.6691, allocations: 230.4 kB / 1.031 GB, free: 4.105 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.002664/0.6718, allocations: 2.494 MB / 1.033 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.6731, allocations: 498.3 kB / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.6733, allocations: 157.2 kB / 1.034 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.6733, allocations: 4.234 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6734, allocations: 34.8 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.6734, allocations: 0 / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001935/0.6753, allocations: 1.211 MB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6754, allocations: 55.41 kB / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.6764, allocations: 0.9192 MB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.6765, allocations: 41.7 kB / 1.036 GB, free: 14.39 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.6768, allocations: 368.8 kB / 1.036 GB, free: 14.03 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.6769, allocations: 110.4 kB / 1.036 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.6771, allocations: 166.6 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6773, allocations: 398.8 kB / 1.037 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.6776, allocations: 229.8 kB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.6782, allocations: 0.627 MB / 1.038 GB, free: 12.3 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.002696/0.6809, allocations: 1.768 MB / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6809, allocations: 4 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001235/0.6821, allocations: 0.8998 MB / 1.04 GB, free: 9.395 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6822, allocations: 12 kB / 1.04 GB, free: 9.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.6822, allocations: 16.06 kB / 1.04 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.6824, allocations: 52.83 kB / 1.041 GB, free: 9.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.683, allocations: 203.6 kB / 1.041 GB, free: 9.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009816/0.684, allocations: 1.362 MB / 1.042 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/0.6847, allocations: 47.91 kB / 1.042 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.6847, allocations: 44 kB / 1.042 GB, free: 7.527 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 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.0003535/0.6851, allocations: 297.5 kB / 1.042 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.6852, allocations: 78.97 kB / 1.042 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.6853, allocations: 80.52 kB / 1.043 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6853, allocations: 0 / 1.043 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6853, allocations: 7.938 kB / 1.043 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6854, allocations: 0 / 1.043 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.687, allocations: 1.144 MB / 1.044 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.687, allocations: 3.938 kB / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.6874, allocations: 83.88 kB / 1.044 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.6875, allocations: 36.95 kB / 1.044 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.6876, allocations: 8 kB / 1.044 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009192/0.6885, allocations: 1.335 MB / 1.045 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6885, allocations: 0 / 1.045 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.6894, allocations: 0.6595 MB / 1.046 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.6896, allocations: 200.1 kB / 1.046 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.6897, allocations: 11.98 kB / 1.046 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.6901, allocations: 19.92 kB / 1.046 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.6902, allocations: 23.97 kB / 1.046 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.6902, allocations: 8 kB / 1.046 GB, free: 3.277 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008194/0.6911, allocations: 0.6239 MB / 1.047 GB, free: 2.656 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.804e-06/0.6911, allocations: 0 / 1.047 GB, free: 2.656 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007723/0.6919, allocations: 207.9 kB / 1.047 GB, free: 2.453 MB / 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.0001479/0.692, allocations: 107.2 kB / 1.047 GB, free: 2.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.6932, allocations: 0.646 MB / 1.048 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6932, allocations: 0 / 1.048 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.6936, allocations: 267.2 kB / 1.048 GB, free: 1.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.6945, allocations: 168 kB / 1.048 GB, free: 1.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.6968, allocations: 1.87 MB / 1.05 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.6973, allocations: 0.984 MB / 1.051 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004205/0.6978, allocations: 157.8 kB / 1.051 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.6979, allocations: 51.44 kB / 1.051 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.6979, allocations: 0 / 1.051 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.01489/0.7128, allocations: 8.56 MB / 1.059 GB, free: 5.668 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches