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.001859/0.001859, allocations: 108 kB / 15.6 MB, free: 132 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.001834/0.001834, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.78/2.78, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6227, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005449/0.6282, allocations: 3.729 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004292/0.6325, allocations: 2.513 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.6328, allocations: 19.88 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.6336, allocations: 242.4 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009976/0.6347, allocations: 0.4899 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.636, allocations: 0.5417 MB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.6377, allocations: 1.363 MB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.6379, allocations: 145.1 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.6386, allocations: 438.5 kB / 1.027 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.6393, allocations: 494.1 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.6394, allocations: 52 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.6396, allocations: 64 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.64, allocations: 347 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.6405, allocations: 457.5 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009324/0.6415, allocations: 0.8991 MB / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6415, allocations: 0 / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6415, allocations: 0 / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.6415, allocations: 0 / 1.029 GB, free: 6.656 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.002303/0.6438, allocations: 1.249 MB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6438, allocations: 11.98 kB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.644, allocations: 103.7 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.6451, allocations: 0.6403 MB / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.6451, allocations: 41.03 kB / 1.031 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.6452, allocations: 60.22 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.6459, allocations: 406.9 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6459, allocations: 0 / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.646, allocations: 16 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.646, allocations: 8 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.6464, allocations: 230.4 kB / 1.031 GB, free: 3.777 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.003264/0.6497, allocations: 2.498 MB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6511, allocations: 0.4884 MB / 1.034 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.6514, allocations: 149.2 kB / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.6514, allocations: 4.234 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6514, allocations: 38.8 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.6514, allocations: 0 / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.002212/0.6537, allocations: 1.209 MB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.6537, allocations: 55.41 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.655, allocations: 0.9191 MB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.655, allocations: 41.7 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.6554, allocations: 372.8 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.6555, allocations: 114.4 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.6557, allocations: 166.6 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.656, allocations: 390.8 kB / 1.038 GB, free: 13.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.6564, allocations: 229.8 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.6571, allocations: 0.6192 MB / 1.039 GB, free: 11.98 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.003175/0.6603, allocations: 1.759 MB / 1.04 GB, free: 9.996 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6603, allocations: 4 kB / 1.04 GB, free: 9.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00149/0.6618, allocations: 0.9029 MB / 1.041 GB, free: 9.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6619, allocations: 12.88 kB / 1.041 GB, free: 9.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.6619, allocations: 12 kB / 1.041 GB, free: 9.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.6621, allocations: 52.83 kB / 1.041 GB, free: 9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.6628, allocations: 211.6 kB / 1.041 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.6641, allocations: 1.46 MB / 1.043 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.6648, allocations: 48.08 kB / 1.043 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.6648, allocations: 44 kB / 1.043 GB, free: 7.102 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.0003745/0.6652, allocations: 300 kB / 1.043 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6653, allocations: 78.97 kB / 1.043 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.6655, allocations: 80.47 kB / 1.043 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6655, allocations: 4 kB / 1.043 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6655, allocations: 0 / 1.043 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6655, allocations: 11.98 kB / 1.043 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.6673, allocations: 1.133 MB / 1.044 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6673, allocations: 0 / 1.044 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.6677, allocations: 92 kB / 1.045 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.6678, allocations: 32.83 kB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.6679, allocations: 8 kB / 1.045 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.6691, allocations: 1.429 MB / 1.046 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.6691, allocations: 4.031 kB / 1.046 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.6701, allocations: 0.6705 MB / 1.047 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.6704, allocations: 196 kB / 1.047 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.6705, allocations: 12 kB / 1.047 GB, free: 2.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.6709, allocations: 19.97 kB / 1.047 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.671, allocations: 23.97 kB / 1.047 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.671, allocations: 8 kB / 1.047 GB, free: 2.742 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008769/0.6719, allocations: 0.62 MB / 1.048 GB, free: 2.125 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6719, allocations: 0 / 1.048 GB, free: 2.125 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000718/0.6726, allocations: 208 kB / 1.048 GB, free: 1.922 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.0001397/0.6728, allocations: 115.2 kB / 1.048 GB, free: 1.801 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.674, allocations: 0.6689 MB / 1.048 GB, free: 1.121 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.674, allocations: 0.625 kB / 1.048 GB, free: 1.121 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.6744, allocations: 270.5 kB / 1.049 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.6753, allocations: 166.1 kB / 1.049 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.6779, allocations: 1.644 MB / 1.05 GB, free: 15 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.6786, allocations: 0.9837 MB / 1.051 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004152/0.679, allocations: 153.8 kB / 1.052 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6791, allocations: 47.44 kB / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of SimCode: time 2.354e-06/0.6791, allocations: 0 / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of Templates: time 0.01978/0.6989, allocations: 8.986 MB / 1.06 GB, free: 4.91 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=400 -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