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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00151/0.00151, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001509/0.001509, allocations: 191 kB / 17.2 MB, free: 5.59 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.686/2.686, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 69.23 kB / 0.9245 GB, free: 20 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7084, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004759/0.7132, allocations: 3.716 MB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004626/0.7179, allocations: 2.506 MB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.7185, allocations: 18.38 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.7194, allocations: 245.5 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.7207, allocations: 498.7 kB / 1.09 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.7223, allocations: 0.536 MB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.7242, allocations: 1.371 MB / 1.092 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.7245, allocations: 150.6 kB / 1.092 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008489/0.7254, allocations: 433.2 kB / 1.092 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.7262, allocations: 494.6 kB / 1.093 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.7263, allocations: 60.97 kB / 1.093 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.7265, allocations: 61.44 kB / 1.093 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.727, allocations: 348 kB / 1.093 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.7275, allocations: 457.4 kB / 1.093 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.7286, allocations: 0.8962 MB / 1.094 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7286, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7286, allocations: 1.344 kB / 1.094 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.633e-05/0.7287, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8419 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.002542/0.7312, allocations: 1.247 MB / 1.096 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7313, allocations: 9.953 kB / 1.096 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.7315, allocations: 106.8 kB / 1.096 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.7326, allocations: 0.647 MB / 1.096 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.7327, allocations: 38.31 kB / 1.096 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.7327, allocations: 61.92 kB / 1.096 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.7334, allocations: 399.8 kB / 1.097 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.7335, allocations: 0.9688 kB / 1.097 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.7335, allocations: 19.34 kB / 1.097 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.7335, allocations: 9.344 kB / 1.097 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.7339, allocations: 220.7 kB / 1.097 GB, free: 9.223 MB / 0.8419 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.003407/0.7374, allocations: 2.512 MB / 1.099 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.7387, allocations: 483.6 kB / 1.1 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.739, allocations: 155.9 kB / 1.1 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.739, allocations: 2.766 kB / 1.1 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.739, allocations: 36.62 kB / 1.1 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.7391, allocations: 5.219 kB / 1.1 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.00246/0.7415, allocations: 1.203 MB / 1.101 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.7416, allocations: 54.22 kB / 1.101 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.743, allocations: 0.9269 MB / 1.102 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.743, allocations: 40.86 kB / 1.102 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.7434, allocations: 370.1 kB / 1.103 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.7435, allocations: 111 kB / 1.103 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.7437, allocations: 170.8 kB / 1.103 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.744, allocations: 390.7 kB / 1.103 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.7444, allocations: 228.9 kB / 1.104 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/0.745, allocations: 0.623 MB / 1.104 GB, free: 4.371 MB / 0.8419 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.003054/0.7481, allocations: 1.762 MB / 1.106 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.7481, allocations: 4.125 kB / 1.106 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001516/0.7496, allocations: 0.9006 MB / 1.107 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7497, allocations: 15.25 kB / 1.107 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.7497, allocations: 18.47 kB / 1.107 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.7499, allocations: 48.61 kB / 1.107 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.7506, allocations: 210.6 kB / 1.107 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.7518, allocations: 1.47 MB / 1.108 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.7527, allocations: 41.34 kB / 1.108 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.7528, allocations: 41.91 kB / 1.109 GB, free: 1.41 MB / 0.8419 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.0004875/0.7533, allocations: 294.5 kB / 1.109 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.7535, allocations: 84.19 kB / 1.109 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.7537, allocations: 84.08 kB / 1.109 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7537, allocations: 2.469 kB / 1.109 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7537, allocations: 5.906 kB / 1.109 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.7537, allocations: 1.266 kB / 1.109 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.7557, allocations: 1.136 MB / 1.11 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7558, allocations: 1.281 kB / 1.11 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.7561, allocations: 85.44 kB / 1.11 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.7563, allocations: 31.97 kB / 1.11 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.7563, allocations: 9.609 kB / 1.11 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.7575, allocations: 1.439 MB / 1.112 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7575, allocations: 6.188 kB / 1.112 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.7586, allocations: 0.6496 MB / 1.112 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.759, allocations: 203.8 kB / 1.112 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.7592, allocations: 8.906 kB / 1.112 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.7596, allocations: 17.98 kB / 1.112 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.7597, allocations: 20.91 kB / 1.112 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.7597, allocations: 11.19 kB / 1.113 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00102/0.7608, allocations: 0.6179 MB / 1.113 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7608, allocations: 0 / 1.113 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009988/0.7618, allocations: 210.3 kB / 1.113 GB, free: 14.25 MB / 0.8575 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.0001628/0.7619, allocations: 120.8 kB / 1.113 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.7634, allocations: 0.6718 MB / 1.114 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7634, allocations: 9.188 kB / 1.114 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.7638, allocations: 266.5 kB / 1.114 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.7649, allocations: 172.9 kB / 1.115 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.7682, allocations: 1.691 MB / 1.116 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/0.7691, allocations: 0.9836 MB / 1.117 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.7694, allocations: 54.95 kB / 1.117 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of SimCode: time 3.246e-06/0.7694, allocations: 0 / 1.117 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.02288/0.7923, allocations: 12.08 MB / 1.129 GB, free: 6.984 MB / 0.8575 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=400 -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