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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.767/1.767, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|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=2500,variableFilter="time|con.T.[0-9,]+.|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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.787 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.891e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003846/0.003875, allocations: 3.762 MB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003536/0.007411, allocations: 2.515 MB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.007835, allocations: 23.81 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006883/0.008523, allocations: 243.7 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009832/0.009506, allocations: 0.548 MB / 0.794 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.01063, allocations: 0.5684 MB / 0.7945 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.01201, allocations: 1.418 MB / 0.7959 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.01222, allocations: 98.45 kB / 0.796 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009566/0.01317, allocations: 0.6132 MB / 0.7966 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.01379, allocations: 450.8 kB / 0.797 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.01388, allocations: 52 kB / 0.7971 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.01406, allocations: 69.09 kB / 0.7972 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.01434, allocations: 390.9 kB / 0.7975 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.01463, allocations: 315.9 kB / 0.7978 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.01534, allocations: 0.6226 MB / 0.7984 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01534, allocations: 4.688 kB / 0.7984 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01535, allocations: 0 / 0.7984 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.01536, allocations: 0.8438 kB / 0.7984 GB, free: 0.8359 MB / 0.7448 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.001529/0.01689, allocations: 1.319 MB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01693, allocations: 12.03 kB / 0.7997 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.0172, allocations: 136.3 kB / 0.7999 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.01789, allocations: 0.5658 MB / 0.8004 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.01792, allocations: 45.03 kB / 0.8005 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.01799, allocations: 60.97 kB / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.01835, allocations: 329 kB / 0.8008 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01836, allocations: 1.031 kB / 0.8008 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.01839, allocations: 15.94 kB / 0.8009 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.0184, allocations: 15.53 kB / 0.8009 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.01858, allocations: 115.8 kB / 0.801 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.0204, allocations: 2.145 MB / 0.8031 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.02108, allocations: 377.2 kB / 0.8034 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.02118, allocations: 76.81 kB / 0.8035 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.0212, allocations: 4.234 kB / 0.8035 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.02122, allocations: 43.47 kB / 0.8036 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.02122, allocations: 0 / 0.8036 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.001264/0.02249, allocations: 0.7503 MB / 0.8043 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.02251, allocations: 55.97 kB / 0.8043 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.02332, allocations: 0.8671 MB / 0.8052 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.02334, allocations: 37.7 kB / 0.8052 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.02356, allocations: 451.8 kB / 0.8057 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.02363, allocations: 119 kB / 0.8058 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.02377, allocations: 176.3 kB / 0.8059 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.02395, allocations: 0.5821 MB / 0.8065 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.02408, allocations: 77.94 kB / 0.8066 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.02444, allocations: 0.6647 MB / 0.8072 GB, free: 7.273 MB / 0.7605 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.001092/0.02554, allocations: 1.125 MB / 0.8083 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.02554, allocations: 4 kB / 0.8083 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007259/0.02627, allocations: 0.6764 MB / 0.809 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.02629, allocations: 13.56 kB / 0.809 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.0263, allocations: 24.11 kB / 0.809 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.02649, allocations: 51.66 kB / 0.8091 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.02687, allocations: 203.6 kB / 0.8093 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009112/0.02779, allocations: 1.759 MB / 0.811 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.02817, allocations: 39.97 kB / 0.811 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.02821, allocations: 47.94 kB / 0.8111 GB, free: 2.934 MB / 0.7605 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.0002135/0.02843, allocations: 243.9 kB / 0.8113 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.334e-05/0.02852, allocations: 95.44 kB / 0.8114 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.02858, allocations: 68.42 kB / 0.8115 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.02858, allocations: 4.094 kB / 0.8115 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.02859, allocations: 4 kB / 0.8115 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.0286, allocations: 3.984 kB / 0.8115 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.02968, allocations: 0.8846 MB / 0.8123 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.02969, allocations: 8 kB / 0.8123 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.02991, allocations: 83.88 kB / 0.8124 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.03005, allocations: 43.72 kB / 0.8125 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.03007, allocations: 8 kB / 0.8125 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000776/0.03085, allocations: 1.74 MB / 0.8142 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.03085, allocations: 4.125 kB / 0.8142 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.03132, allocations: 0.5065 MB / 0.8147 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.03149, allocations: 123.4 kB / 0.8148 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.03155, allocations: 12 kB / 0.8148 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.03176, allocations: 19.97 kB / 0.8148 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.03183, allocations: 23.84 kB / 0.8148 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.03184, allocations: 8 kB / 0.8148 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004811/0.03233, allocations: 0.5223 MB / 0.8154 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.03233, allocations: 0 / 0.8154 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005257/0.03285, allocations: 212 kB / 0.8156 GB, free: 14.1 MB / 0.7761 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.0001575/0.03301, allocations: 107.2 kB / 0.8157 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006561/0.03366, allocations: 0.5148 MB / 0.8162 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.03367, allocations: 8.562 kB / 0.8162 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.03386, allocations: 269.4 kB / 0.8164 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.03441, allocations: 171.8 kB / 0.8166 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.03609, allocations: 1.394 MB / 0.818 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.0362, allocations: 185.8 kB / 0.8181 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.03644, allocations: 125.5 kB / 0.8182 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.03654, allocations: 56.48 kB / 0.8183 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of SimCode: time 1.243e-06/0.03655, allocations: 0 / 0.8183 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.01244/0.04898, allocations: 9.893 MB / 0.828 GB, free: 1.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.116108398884535]