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.001626/0.001626, allocations: 83.59 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.001696/0.001696, allocations: 165 kB / 23.82 MB, free: 0.7461 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.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.821/1.821, allocations: 359 MB / 0.6052 GB, free: 11.02 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.834e-06/1.834e-06, allocations: 0 / 0.787 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.667e-05, allocations: 3.406 kB / 0.787 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005385/0.005422, allocations: 3.764 MB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.009803, allocations: 2.519 MB / 0.7932 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.01024, allocations: 19.81 kB / 0.7932 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.01106, allocations: 243.7 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.01223, allocations: 0.5401 MB / 0.7939 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.01357, allocations: 0.5731 MB / 0.7945 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.01518, allocations: 1.421 MB / 0.7959 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.01541, allocations: 98.23 kB / 0.796 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.01626, allocations: 0.6048 MB / 0.7966 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.01689, allocations: 447.4 kB / 0.797 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.01698, allocations: 53.62 kB / 0.7971 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.01716, allocations: 71.92 kB / 0.7971 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.01751, allocations: 390.9 kB / 0.7975 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.01784, allocations: 315.2 kB / 0.7978 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.01861, allocations: 0.627 MB / 0.7984 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01861, allocations: 1.031 kB / 0.7984 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01861, allocations: 0 / 0.7984 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.01862, allocations: 4 kB / 0.7984 GB, free: 0.9102 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.001849/0.02047, allocations: 1.323 MB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.02051, allocations: 8.031 kB / 0.7997 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.02082, allocations: 140.3 kB / 0.7999 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.02171, allocations: 0.5938 MB / 0.8004 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.02175, allocations: 37.03 kB / 0.8005 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.02183, allocations: 60.36 kB / 0.8005 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.0223, allocations: 322.9 kB / 0.8008 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.02231, allocations: 192 / 0.8008 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.02234, allocations: 19.94 kB / 0.8009 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.02236, allocations: 11.94 kB / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.0226, allocations: 120.8 kB / 0.801 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.02488, allocations: 2.157 MB / 0.8031 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.02579, allocations: 369.6 kB / 0.8034 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.02593, allocations: 78.36 kB / 0.8035 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.02595, allocations: 8.234 kB / 0.8035 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.02598, allocations: 33.62 kB / 0.8036 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.02598, allocations: 0 / 0.8036 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.001453/0.02743, allocations: 0.7524 MB / 0.8043 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.02747, allocations: 59.39 kB / 0.8043 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.02846, allocations: 0.8624 MB / 0.8052 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.02849, allocations: 42.77 kB / 0.8052 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.0288, allocations: 443.9 kB / 0.8056 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.0289, allocations: 115 kB / 0.8058 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.02911, allocations: 188.3 kB / 0.8059 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002346/0.02934, allocations: 0.5859 MB / 0.8065 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.02953, allocations: 81.94 kB / 0.8066 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.03003, allocations: 0.657 MB / 0.8072 GB, free: 7.32 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.00146/0.03149, allocations: 1.129 MB / 0.8083 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.0315, allocations: 4 kB / 0.8083 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001027/0.03252, allocations: 0.6796 MB / 0.809 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.03255, allocations: 12 kB / 0.809 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.03257, allocations: 12.84 kB / 0.809 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.03281, allocations: 51.66 kB / 0.8091 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.03336, allocations: 211.6 kB / 0.8093 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.03444, allocations: 1.759 MB / 0.811 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.03498, allocations: 39.98 kB / 0.811 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.03504, allocations: 47.92 kB / 0.8111 GB, free: 2.977 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.0002333/0.03527, allocations: 246.2 kB / 0.8113 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.03538, allocations: 91.44 kB / 0.8114 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.03547, allocations: 76.41 kB / 0.8115 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.03548, allocations: 4 kB / 0.8115 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.03548, allocations: 3.938 kB / 0.8115 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.03549, allocations: 64 / 0.8115 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.0367, allocations: 0.8883 MB / 0.8123 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.0367, allocations: 0 / 0.8123 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.037, allocations: 87.88 kB / 0.8124 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.03715, allocations: 43.72 kB / 0.8125 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.03718, allocations: 8 kB / 0.8125 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008676/0.03805, allocations: 1.732 MB / 0.8142 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.03805, allocations: 4 kB / 0.8142 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.03862, allocations: 0.5067 MB / 0.8147 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.03884, allocations: 119.4 kB / 0.8148 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.03892, allocations: 11.98 kB / 0.8148 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.03923, allocations: 15.98 kB / 0.8148 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.03929, allocations: 35.77 kB / 0.8148 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.03931, allocations: 8 kB / 0.8149 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006031/0.03991, allocations: 0.5184 MB / 0.8154 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.03991, allocations: 0 / 0.8154 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007231/0.04063, allocations: 208 kB / 0.8156 GB, free: 14.16 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.000131/0.04076, allocations: 115.1 kB / 0.8157 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008172/0.04158, allocations: 0.5232 MB / 0.8162 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.04158, allocations: 0 / 0.8162 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.04184, allocations: 269.4 kB / 0.8164 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.0426, allocations: 171.5 kB / 0.8166 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.0449, allocations: 1.391 MB / 0.818 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.04506, allocations: 181.9 kB / 0.8181 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003167/0.04537, allocations: 129.6 kB / 0.8183 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.04552, allocations: 48.5 kB / 0.8183 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of SimCode: time 1.001e-06/0.04552, allocations: 4 kB / 0.8183 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.01604/0.06156, allocations: 9.45 MB / 0.8275 GB, free: 1.996 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.522274157963693]