Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001507/0.001507, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001484/0.001484, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 66.08 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3005, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005864/0.3064, allocations: 3.744 MB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.3109, allocations: 2.507 MB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.3112, allocations: 15.88 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007322/0.312, allocations: 214.8 kB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.313, allocations: 465.9 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.3145, allocations: 493.9 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.3162, allocations: 1.371 MB / 1.073 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.3165, allocations: 153.1 kB / 1.073 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.3172, allocations: 442.4 kB / 1.073 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.318, allocations: 0.5177 MB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.521e-05/0.3181, allocations: 56 kB / 1.074 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3182, allocations: 56 kB / 1.074 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.3186, allocations: 350.9 kB / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.319, allocations: 457.6 kB / 1.075 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.3198, allocations: 0.6976 MB / 1.075 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3198, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3198, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.3198, allocations: 0 / 1.075 GB, free: 3.59 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.002393/0.3222, allocations: 1.253 MB / 1.077 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3223, allocations: 8.031 kB / 1.077 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3224, allocations: 103.7 kB / 1.077 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3235, allocations: 0.6441 MB / 1.077 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3235, allocations: 48.97 kB / 1.077 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.26e-05/0.3236, allocations: 60.36 kB / 1.077 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.3243, allocations: 398.9 kB / 1.078 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3243, allocations: 4 kB / 1.078 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3243, allocations: 12 kB / 1.078 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3244, allocations: 8 kB / 1.078 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.3248, allocations: 226.4 kB / 1.078 GB, free: 0.7148 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.4501/0.7749, allocations: 2.498 MB / 1.08 GB, free: 20.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.7761, allocations: 488 kB / 1.081 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.7764, allocations: 159.2 kB / 1.081 GB, free: 20.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.7764, allocations: 3.047 kB / 1.081 GB, free: 20.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.7764, allocations: 36.88 kB / 1.081 GB, free: 20.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.7764, allocations: 0.8438 kB / 1.081 GB, free: 20.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001876/0.7783, allocations: 1.194 MB / 1.082 GB, free: 20.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.7783, allocations: 56.03 kB / 1.082 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7794, allocations: 0.9212 MB / 1.083 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.7795, allocations: 41.2 kB / 1.083 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.7797, allocations: 367 kB / 1.084 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.7798, allocations: 117.1 kB / 1.084 GB, free: 19.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.7799, allocations: 165 kB / 1.084 GB, free: 19.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.78, allocations: 394.7 kB / 1.084 GB, free: 19.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.7804, allocations: 227 kB / 1.084 GB, free: 18.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.7809, allocations: 0.6337 MB / 1.085 GB, free: 18.39 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.002599/0.7835, allocations: 1.764 MB / 1.087 GB, free: 17.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7835, allocations: 4.344 kB / 1.087 GB, free: 17.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001307/0.7848, allocations: 0.9047 MB / 1.088 GB, free: 16.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.7848, allocations: 10.41 kB / 1.088 GB, free: 16.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.7849, allocations: 13.97 kB / 1.088 GB, free: 16.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.785, allocations: 53.36 kB / 1.088 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.7857, allocations: 207.4 kB / 1.088 GB, free: 16.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007746/0.7865, allocations: 1.46 MB / 1.089 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.7872, allocations: 49.62 kB / 1.089 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.7873, allocations: 46.69 kB / 1.089 GB, free: 15.46 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.0003093/0.7876, allocations: 298.4 kB / 1.09 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.7877, allocations: 83.39 kB / 1.09 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.7878, allocations: 78.19 kB / 1.09 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.7878, allocations: 2.969 kB / 1.09 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7878, allocations: 0.7188 kB / 1.09 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.7878, allocations: 7.203 kB / 1.09 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.7894, allocations: 1.14 MB / 1.091 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7894, allocations: 1.25 kB / 1.091 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.7898, allocations: 89.36 kB / 1.091 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.7899, allocations: 31.61 kB / 1.091 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.79, allocations: 11.41 kB / 1.091 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006749/0.7907, allocations: 1.439 MB / 1.093 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7907, allocations: 2.531 kB / 1.093 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.7915, allocations: 0.6425 MB / 1.093 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.7917, allocations: 200.3 kB / 1.093 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/0.7918, allocations: 18.02 kB / 1.093 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.7923, allocations: 24.52 kB / 1.093 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.7923, allocations: 20.53 kB / 1.093 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.7924, allocations: 11.81 kB / 1.093 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008695/0.7932, allocations: 0.6182 MB / 1.094 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7933, allocations: 0 / 1.094 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008053/0.7941, allocations: 210.1 kB / 1.094 GB, free: 12.32 MB / 0.8419 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.0001044/0.7942, allocations: 112.4 kB / 1.094 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.7953, allocations: 0.6768 MB / 1.095 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7954, allocations: 1.859 kB / 1.095 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.7957, allocations: 272.6 kB / 1.095 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.7965, allocations: 177.3 kB / 1.095 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.7987, allocations: 1.912 MB / 1.097 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.7992, allocations: 0.9836 MB / 1.098 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.7994, allocations: 50.97 kB / 1.098 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.7994, allocations: 4 kB / 1.098 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of Templates: time 0.01911/0.8185, allocations: 12.09 MB / 1.11 GB, free: 8.699 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches