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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0012/0.0012, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001427/0.001427, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6575, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00303/0.6606, allocations: 2.989 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.6639, allocations: 2.372 MB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.6642, allocations: 19.88 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007218/0.6649, allocations: 286.7 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.6656, allocations: 390.9 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.6666, allocations: 434.4 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.6675, allocations: 0.768 MB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.6678, allocations: 111.6 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.6682, allocations: 330.9 kB / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.6686, allocations: 342.7 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.6687, allocations: 24 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.6688, allocations: 31.94 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.6691, allocations: 299.2 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.6693, allocations: 185.2 kB / 1.029 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.6698, allocations: 0.6506 MB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.6698, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6699, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.6699, allocations: 0 / 1.03 GB, free: 7.891 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.001823/0.6717, allocations: 1.121 MB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6717, allocations: 12.03 kB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.6719, allocations: 102.9 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.6728, allocations: 0.5694 MB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.6728, allocations: 48.62 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.6729, allocations: 56 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.6735, allocations: 402.9 kB / 1.032 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6735, allocations: 0 / 1.032 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.6736, allocations: 16 kB / 1.032 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6736, allocations: 8 kB / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.674, allocations: 226.3 kB / 1.032 GB, free: 5.219 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.003037/0.6771, allocations: 2.494 MB / 1.035 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.6783, allocations: 499 kB / 1.035 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.6783, allocations: 4.234 kB / 1.035 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.6784, allocations: 34.8 kB / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.6784, allocations: 0 / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001989/0.6804, allocations: 1.205 MB / 1.036 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6804, allocations: 63.34 kB / 1.036 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6815, allocations: 0.8802 MB / 1.037 GB, free: 15.74 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.6815, allocations: 41.7 kB / 1.037 GB, free: 15.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.6818, allocations: 368.7 kB / 1.038 GB, free: 15.33 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.6819, allocations: 114.4 kB / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.6819, allocations: 16 kB / 1.038 GB, free: 15.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6821, allocations: 394.8 kB / 1.038 GB, free: 14.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.6825, allocations: 229.8 kB / 1.038 GB, free: 14.58 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.6831, allocations: 0.6115 MB / 1.039 GB, free: 13.78 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: 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])) 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])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.6852, allocations: 1.08 MB / 1.04 GB, free: 12.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.6852, allocations: 4 kB / 1.04 GB, free: 12.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001352/0.6866, allocations: 0.8996 MB / 1.041 GB, free: 11.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6866, allocations: 12.81 kB / 1.041 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.6867, allocations: 15.95 kB / 1.041 GB, free: 11.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.6868, allocations: 56.83 kB / 1.041 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.6875, allocations: 211.6 kB / 1.041 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.6886, allocations: 1.354 MB / 1.043 GB, free: 9.969 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.6893, allocations: 47.97 kB / 1.043 GB, free: 9.922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.6894, allocations: 44 kB / 1.043 GB, free: 9.879 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 sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) 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]). 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.6897, allocations: 297.6 kB / 1.043 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6898, allocations: 82.88 kB / 1.043 GB, free: 9.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.6899, allocations: 84.47 kB / 1.043 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.69, allocations: 4 kB / 1.043 GB, free: 9.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.69, allocations: 0 / 1.043 GB, free: 9.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.69, allocations: 0 / 1.043 GB, free: 9.406 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.6916, allocations: 1.131 MB / 1.044 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6916, allocations: 4 kB / 1.044 GB, free: 8.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.692, allocations: 88 kB / 1.044 GB, free: 8.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.6921, allocations: 32.83 kB / 1.044 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.6921, allocations: 8 kB / 1.044 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009596/0.6931, allocations: 1.346 MB / 1.046 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6931, allocations: 4.031 kB / 1.046 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/0.6941, allocations: 0.7051 MB / 1.046 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.6944, allocations: 199.9 kB / 1.047 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.6945, allocations: 15.98 kB / 1.047 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.6948, allocations: 19.92 kB / 1.047 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.6949, allocations: 27.91 kB / 1.047 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.6949, allocations: 4 kB / 1.047 GB, free: 5.547 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000718/0.6957, allocations: 0.5927 MB / 1.047 GB, free: 4.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6957, allocations: 4 kB / 1.047 GB, free: 4.953 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006991/0.6964, allocations: 200 kB / 1.047 GB, free: 4.758 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.6965, allocations: 111.2 kB / 1.047 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6976, allocations: 0.6463 MB / 1.048 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6976, allocations: 0 / 1.048 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.6979, allocations: 267.3 kB / 1.048 GB, free: 3.711 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.6987, allocations: 159.1 kB / 1.048 GB, free: 3.555 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.7013, allocations: 1.914 MB / 1.05 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.702, allocations: 1.003 MB / 1.051 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000404/0.7024, allocations: 145.1 kB / 1.051 GB, free: 436 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7025, allocations: 43.44 kB / 1.052 GB, free: 392 kB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.7026, allocations: 3.938 kB / 1.052 GB, free: 388 kB / 0.795 GB Notification: Performance of Templates: time 0.01399/0.7165, allocations: 7.797 MB / 1.059 GB, free: 8.691 MB / 0.8106 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","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches