Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001188/0.001188, allocations: 99.47 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.001749/0.001749, 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.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003455, allocations: 8 kB / 0.8145 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7942, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003553/0.7978, allocations: 2.987 MB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.8014, allocations: 2.376 MB / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.8019, allocations: 11.31 kB / 0.9587 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.8028, allocations: 286.7 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.8036, allocations: 395.5 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.8047, allocations: 435.6 kB / 0.9598 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.8059, allocations: 0.7667 MB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.8061, allocations: 119.7 kB / 0.9607 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.8066, allocations: 328.5 kB / 0.961 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.8071, allocations: 341 kB / 0.9613 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.8072, allocations: 25.25 kB / 0.9613 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.8073, allocations: 30 kB / 0.9614 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.8076, allocations: 301.3 kB / 0.9616 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.8077, allocations: 192.3 kB / 0.9618 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.8083, allocations: 0.6475 MB / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.8083, allocations: 0 / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8083, allocations: 0 / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.8083, allocations: 0 / 0.9625 GB, free: 1.438 MB / 0.7169 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.001847/0.8102, allocations: 1.116 MB / 0.9636 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8102, allocations: 8.812 kB / 0.9636 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.8103, allocations: 106 kB / 0.9637 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.8112, allocations: 0.5688 MB / 0.9642 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.8113, allocations: 45.44 kB / 0.9643 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.8113, allocations: 57.42 kB / 0.9643 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.812, allocations: 395.6 kB / 0.9647 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.812, allocations: 8.781 kB / 0.9647 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.812, allocations: 15.03 kB / 0.9647 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.812, allocations: 8.969 kB / 0.9647 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.8124, allocations: 225.5 kB / 0.9649 GB, free: 15.62 MB / 0.7325 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.003091/0.8155, allocations: 2.492 MB / 0.9674 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.8169, allocations: 0.4897 MB / 0.9678 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.8169, allocations: 2.859 kB / 0.9679 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.817, allocations: 36.14 kB / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.817, allocations: 0 / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002397/0.8194, allocations: 1.195 MB / 0.9691 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8194, allocations: 54.84 kB / 0.9691 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.8207, allocations: 0.8853 MB / 0.97 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.8208, allocations: 41.89 kB / 0.97 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.8211, allocations: 374.7 kB / 0.9704 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.8212, allocations: 111.9 kB / 0.9705 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.8212, allocations: 15.94 kB / 0.9705 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.8214, allocations: 400.4 kB / 0.9709 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.8218, allocations: 226.6 kB / 0.9711 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.8225, allocations: 0.6148 MB / 0.9717 GB, free: 10.13 MB / 0.7325 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.002318/0.8248, allocations: 1.086 MB / 0.9727 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.8249, allocations: 3.812 kB / 0.9728 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001762/0.8266, allocations: 0.9067 MB / 0.9736 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.8267, allocations: 13.03 kB / 0.9736 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.8267, allocations: 13.28 kB / 0.9737 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.8269, allocations: 51.02 kB / 0.9737 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.8277, allocations: 218.8 kB / 0.9739 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.829, allocations: 1.361 MB / 0.9752 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/0.83, allocations: 50.77 kB / 0.9753 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.8301, allocations: 43.25 kB / 0.9753 GB, free: 7.547 MB / 0.7325 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.0005289/0.8306, allocations: 297.1 kB / 0.9756 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.8308, allocations: 87.12 kB / 0.9757 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.8309, allocations: 83.86 kB / 0.9758 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8309, allocations: 2.156 kB / 0.9758 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8309, allocations: 1.5 kB / 0.9758 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8309, allocations: 0 / 0.9758 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.8327, allocations: 1.129 MB / 0.9769 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.8327, allocations: 1.094 kB / 0.9769 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.8331, allocations: 82.47 kB / 0.977 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.8332, allocations: 40.34 kB / 0.977 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.8332, allocations: 8.594 kB / 0.977 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.8343, allocations: 1.353 MB / 0.9783 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.8343, allocations: 1.438 kB / 0.9783 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.8354, allocations: 0.6953 MB / 0.979 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.8357, allocations: 197.6 kB / 0.9792 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.8358, allocations: 16.44 kB / 0.9792 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.8362, allocations: 23.14 kB / 0.9792 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.8362, allocations: 25.59 kB / 0.9793 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.8363, allocations: 6.188 kB / 0.9793 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008411/0.8371, allocations: 0.5891 MB / 0.9799 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8371, allocations: 0 / 0.9799 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008954/0.838, allocations: 204.9 kB / 0.98 GB, free: 3.887 MB / 0.7325 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.000138/0.8382, allocations: 111.2 kB / 0.9802 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.8393, allocations: 0.6466 MB / 0.9808 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8393, allocations: 7.938 kB / 0.9808 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.8396, allocations: 270.5 kB / 0.981 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.8404, allocations: 147.4 kB / 0.9812 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.8428, allocations: 1.917 MB / 0.9831 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.8434, allocations: 0.9993 MB / 0.984 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004158/0.8438, allocations: 141.1 kB / 0.9842 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.8439, allocations: 51.38 kB / 0.9842 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.8439, allocations: 0 / 0.9842 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.01463/0.8586, allocations: 7.791 MB / 0.9918 GB, free: 7.836 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches