Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009801/0.0009801, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009398/0.0009398, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 0.9925/0.9925, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.915/1.915, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.735e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003764/0.003781, allocations: 3.743 MB / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.006959, allocations: 2.51 MB / 0.8176 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.007256, allocations: 23.81 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.007854, allocations: 243.9 kB / 0.8178 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007673/0.008621, allocations: 0.5486 MB / 0.8184 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.009471, allocations: 0.5721 MB / 0.8189 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.01053, allocations: 1.422 MB / 0.8203 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.0107, allocations: 93.72 kB / 0.8204 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.01125, allocations: 0.6061 MB / 0.821 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.01169, allocations: 454.8 kB / 0.8214 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.01176, allocations: 52 kB / 0.8215 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.01187, allocations: 67.94 kB / 0.8216 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.01211, allocations: 397.2 kB / 0.8219 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.01233, allocations: 315.2 kB / 0.8222 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.01284, allocations: 0.6264 MB / 0.8228 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01284, allocations: 4 kB / 0.8228 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.01284, allocations: 0 / 0.8228 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.01285, allocations: 0 / 0.8228 GB, free: 6.469 MB / 0.7761 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.001272/0.01412, allocations: 1.311 MB / 0.8241 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01415, allocations: 12.03 kB / 0.8241 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.01436, allocations: 143.6 kB / 0.8243 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.01496, allocations: 0.5882 MB / 0.8249 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.01499, allocations: 37.03 kB / 0.8249 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.01504, allocations: 60.36 kB / 0.8249 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.01536, allocations: 321 kB / 0.8252 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.01537, allocations: 192 / 0.8252 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.01539, allocations: 19.92 kB / 0.8253 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.0154, allocations: 8.938 kB / 0.8253 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.01556, allocations: 116.9 kB / 0.8254 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.01725, allocations: 2.155 MB / 0.8275 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.0179, allocations: 381.9 kB / 0.8279 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.01799, allocations: 68.12 kB / 0.8279 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.018, allocations: 8.234 kB / 0.8279 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.01802, allocations: 34.16 kB / 0.828 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.382e-06/0.01803, allocations: 3.938 kB / 0.828 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.001015/0.01904, allocations: 0.7518 MB / 0.8287 GB, free: 244 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.01907, allocations: 59.41 kB / 0.8288 GB, free: 172 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.01977, allocations: 0.8663 MB / 0.8296 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.0198, allocations: 41.7 kB / 0.8296 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.02002, allocations: 447.9 kB / 0.8301 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.02008, allocations: 111 kB / 0.8302 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.02021, allocations: 184.3 kB / 0.8304 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.02038, allocations: 0.5821 MB / 0.8309 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.02051, allocations: 77.94 kB / 0.831 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.02088, allocations: 0.6647 MB / 0.8316 GB, free: 12.9 MB / 0.7917 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.001021/0.0219, allocations: 1.127 MB / 0.8327 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.0219, allocations: 4 kB / 0.8327 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007017/0.0226, allocations: 0.6765 MB / 0.8334 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.02262, allocations: 14.66 kB / 0.8334 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.02263, allocations: 12 kB / 0.8334 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.02281, allocations: 51.66 kB / 0.8335 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.02325, allocations: 211.8 kB / 0.8337 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007716/0.02402, allocations: 1.763 MB / 0.8354 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.02435, allocations: 39.98 kB / 0.8354 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.02438, allocations: 43.94 kB / 0.8355 GB, free: 8.57 MB / 0.7917 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.0001897/0.02457, allocations: 257.7 kB / 0.8357 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.02465, allocations: 95.44 kB / 0.8358 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.02472, allocations: 76.41 kB / 0.8359 GB, free: 8.141 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.02472, allocations: 4 kB / 0.8359 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02472, allocations: 0 / 0.8359 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.02473, allocations: 0 / 0.8359 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.02559, allocations: 0.8859 MB / 0.8368 GB, free: 7.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02559, allocations: 0 / 0.8368 GB, free: 7.188 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.02579, allocations: 88.02 kB / 0.8368 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.0259, allocations: 35.59 kB / 0.8369 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.02592, allocations: 11.98 kB / 0.8369 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/0.02655, allocations: 1.733 MB / 0.8386 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02655, allocations: 4 kB / 0.8386 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.02696, allocations: 0.5064 MB / 0.8391 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.02711, allocations: 119.4 kB / 0.8392 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.02716, allocations: 11.98 kB / 0.8392 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.02736, allocations: 16.05 kB / 0.8392 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.02741, allocations: 27.91 kB / 0.8393 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02743, allocations: 16.05 kB / 0.8393 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004209/0.02785, allocations: 0.5184 MB / 0.8398 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.02785, allocations: 0 / 0.8398 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004327/0.02828, allocations: 208 kB / 0.84 GB, free: 3.742 MB / 0.7917 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 9.266e-05/0.02837, allocations: 107.1 kB / 0.8401 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.02898, allocations: 0.5272 MB / 0.8406 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02898, allocations: 4 kB / 0.8406 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.02916, allocations: 273.4 kB / 0.8409 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.02966, allocations: 155.4 kB / 0.841 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.03121, allocations: 1.389 MB / 0.8424 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.03133, allocations: 189.8 kB / 0.8425 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.03155, allocations: 129.6 kB / 0.8427 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.03164, allocations: 52.5 kB / 0.8427 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/0.03165, allocations: 0 / 0.8427 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of Templates: time 0.01154/0.04319, allocations: 9.452 MB / 0.8519 GB, free: 7.586 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.492504277033731]