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.007544/0.007544, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.001705/0.001706, allocations: 189.8 kB / 16.67 MB, free: 5.48 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7453 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 63.91 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9252, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005478/0.9307, allocations: 3.725 MB / 1.229 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.9357, allocations: 2.512 MB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.9365, allocations: 11.94 kB / 1.232 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.9376, allocations: 249.9 kB / 1.232 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.9388, allocations: 0.4932 MB / 1.232 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.9405, allocations: 0.5378 MB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.9423, allocations: 1.379 MB / 1.234 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.9426, allocations: 149.1 kB / 1.234 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.9434, allocations: 438.5 kB / 1.235 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.9441, allocations: 482.1 kB / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.9442, allocations: 52 kB / 1.235 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.9443, allocations: 56 kB / 1.235 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.9447, allocations: 355 kB / 1.236 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.9451, allocations: 461.6 kB / 1.236 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008545/0.946, allocations: 0.9112 MB / 1.237 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.946, allocations: 0 / 1.237 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.552e-06/0.946, allocations: 0 / 1.237 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.946, allocations: 3.938 kB / 1.237 GB, free: 1.742 MB / 0.9512 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.002075/0.9481, allocations: 1.288 MB / 1.238 GB, free: 408 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9482, allocations: 8.031 kB / 1.238 GB, free: 400 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.9483, allocations: 108.3 kB / 1.238 GB, free: 292 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.9493, allocations: 0.6644 MB / 1.239 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.9493, allocations: 45.03 kB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.9494, allocations: 52.38 kB / 1.239 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.95, allocations: 410.9 kB / 1.24 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.9501, allocations: 0 / 1.24 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.9501, allocations: 16 kB / 1.24 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.9501, allocations: 8 kB / 1.24 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.9505, allocations: 230.4 kB / 1.24 GB, free: 14.8 MB / 0.9669 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.002863/0.9534, allocations: 2.494 MB / 1.242 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.9546, allocations: 487.2 kB / 1.243 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.9549, allocations: 153.2 kB / 1.243 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.9549, allocations: 240 / 1.243 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.955, allocations: 42.73 kB / 1.243 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/0.955, allocations: 3.984 kB / 1.243 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.002132/0.9571, allocations: 1.218 MB / 1.244 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.9572, allocations: 55.41 kB / 1.244 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.9583, allocations: 0.9232 MB / 1.245 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.9583, allocations: 41.7 kB / 1.245 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.9586, allocations: 373.2 kB / 1.245 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.9587, allocations: 115 kB / 1.246 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.9589, allocations: 166.6 kB / 1.246 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9591, allocations: 398.7 kB / 1.246 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.9595, allocations: 221.8 kB / 1.246 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.9601, allocations: 0.6231 MB / 1.247 GB, free: 7.004 MB / 0.9669 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.002875/0.963, allocations: 1.757 MB / 1.249 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.963, allocations: 4 kB / 1.249 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001402/0.9645, allocations: 0.9154 MB / 1.249 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9645, allocations: 12 kB / 1.25 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.9645, allocations: 16 kB / 1.25 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.9647, allocations: 48.84 kB / 1.25 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.9654, allocations: 211.9 kB / 1.25 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.9665, allocations: 1.464 MB / 1.251 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.9673, allocations: 43.97 kB / 1.251 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.9673, allocations: 40 kB / 1.251 GB, free: 2.113 MB / 0.9669 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.0004257/0.9678, allocations: 309.2 kB / 1.252 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.9679, allocations: 83.5 kB / 1.252 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.968, allocations: 88.45 kB / 1.252 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9681, allocations: 4 kB / 1.252 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9681, allocations: 0 / 1.252 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.9681, allocations: 0 / 1.252 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.9698, allocations: 1.142 MB / 1.253 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-06/0.9698, allocations: 4 kB / 1.253 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.9702, allocations: 79.89 kB / 1.253 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.9703, allocations: 32.83 kB / 1.253 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.9704, allocations: 11.98 kB / 1.253 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.9715, allocations: 1.437 MB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.9715, allocations: 3.938 kB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.9724, allocations: 0.6514 MB / 1.255 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.9727, allocations: 200.5 kB / 1.255 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.9728, allocations: 11.98 kB / 1.255 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.9732, allocations: 19.92 kB / 1.255 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.9732, allocations: 19.97 kB / 1.255 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.9732, allocations: 8 kB / 1.255 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007994/0.9741, allocations: 0.6239 MB / 1.256 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9741, allocations: 4 kB / 1.256 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007186/0.9748, allocations: 208 kB / 1.256 GB, free: 12.93 MB / 0.9825 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.0001383/0.9749, allocations: 111.1 kB / 1.256 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.9761, allocations: 0.6466 MB / 1.257 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9761, allocations: 4 kB / 1.257 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.9765, allocations: 262.4 kB / 1.257 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.9773, allocations: 175.4 kB / 1.257 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.9796, allocations: 1.648 MB / 1.259 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.9801, allocations: 0.9799 MB / 1.26 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.9805, allocations: 153.8 kB / 1.26 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.9807, allocations: 47.44 kB / 1.26 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.9807, allocations: 4 kB / 1.26 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of Templates: time 0.01599/0.9967, allocations: 9.1 MB / 1.269 GB, free: 15.82 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches