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.0009624/0.0009624, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00106/0.00106, allocations: 167.9 kB / 24.87 MB, free: 9.258 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 0.9628/0.9628, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.912/1.912, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.483e-06/1.483e-06, allocations: 0.5469 kB / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.365e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003545/0.003569, allocations: 3.71 MB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.006299, allocations: 2.499 MB / 0.8188 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.006489, allocations: 20.38 kB / 0.8188 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.006994, allocations: 243.7 kB / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.007697, allocations: 0.5483 MB / 0.8196 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.008373, allocations: 0.5809 MB / 0.8201 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.009372, allocations: 1.421 MB / 0.8215 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.009546, allocations: 93.72 kB / 0.8216 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.01012, allocations: 0.6089 MB / 0.8222 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.01055, allocations: 453 kB / 0.8226 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.01062, allocations: 52 kB / 0.8227 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.01073, allocations: 67.94 kB / 0.8228 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.01097, allocations: 390.9 kB / 0.8231 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.01119, allocations: 307.3 kB / 0.8234 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.01168, allocations: 0.6331 MB / 0.824 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01168, allocations: 0 / 0.824 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.01168, allocations: 0 / 0.824 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.01169, allocations: 0 / 0.824 GB, free: 5.902 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.001235/0.01292, allocations: 1.31 MB / 0.8253 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.01296, allocations: 8.031 kB / 0.8253 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.01316, allocations: 136.3 kB / 0.8255 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.01371, allocations: 0.5427 MB / 0.826 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.01374, allocations: 45.02 kB / 0.826 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.0138, allocations: 64.03 kB / 0.8261 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.01406, allocations: 309 kB / 0.8264 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01407, allocations: 4.125 kB / 0.8264 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.01409, allocations: 15.94 kB / 0.8264 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.0141, allocations: 8 kB / 0.8264 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.01421, allocations: 96.39 kB / 0.8265 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.01558, allocations: 1.992 MB / 0.8285 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.01614, allocations: 350.5 kB / 0.8288 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.01622, allocations: 68.09 kB / 0.8289 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.01623, allocations: 4.234 kB / 0.8289 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01625, allocations: 39.06 kB / 0.8289 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.01625, allocations: 0 / 0.8289 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0008346/0.01709, allocations: 0.6104 MB / 0.8295 GB, free: 96 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.01711, allocations: 56.28 kB / 0.8295 GB, free: 28 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.01769, allocations: 0.8464 MB / 0.8304 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01772, allocations: 42.48 kB / 0.8304 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.01794, allocations: 447.7 kB / 0.8308 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.01801, allocations: 119 kB / 0.831 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.01815, allocations: 196.1 kB / 0.8311 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01835, allocations: 0.5897 MB / 0.8317 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.01844, allocations: 61.94 kB / 0.8318 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.01885, allocations: 0.649 MB / 0.8324 GB, free: 12.78 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.0009135/0.01976, allocations: 1.058 MB / 0.8334 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.01977, allocations: 4 kB / 0.8334 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006199/0.02039, allocations: 0.6251 MB / 0.8341 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.0204, allocations: 16.86 kB / 0.8341 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.02042, allocations: 16 kB / 0.8341 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.02058, allocations: 51.66 kB / 0.8341 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.02092, allocations: 199.7 kB / 0.8343 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008117/0.02173, allocations: 1.729 MB / 0.836 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.02204, allocations: 31.98 kB / 0.836 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.02208, allocations: 43.94 kB / 0.8361 GB, free: 8.625 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.0002381/0.02232, allocations: 242.4 kB / 0.8363 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.02241, allocations: 91.44 kB / 0.8364 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.02248, allocations: 72.42 kB / 0.8365 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02249, allocations: 4 kB / 0.8365 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.02249, allocations: 4 kB / 0.8365 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.0225, allocations: 8.047 kB / 0.8365 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.02326, allocations: 0.7457 MB / 0.8372 GB, free: 7.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02326, allocations: 4 kB / 0.8372 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.02345, allocations: 71.89 kB / 0.8373 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.02357, allocations: 35.78 kB / 0.8373 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.02359, allocations: 12 kB / 0.8373 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000694/0.02428, allocations: 1.721 MB / 0.839 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02428, allocations: 0 / 0.839 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.02465, allocations: 494.7 kB / 0.8395 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.0248, allocations: 119.4 kB / 0.8396 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.02485, allocations: 8 kB / 0.8396 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.02503, allocations: 11.98 kB / 0.8396 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.02508, allocations: 23.95 kB / 0.8396 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02509, allocations: 8 kB / 0.8397 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003305/0.02542, allocations: 486.7 kB / 0.8401 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.3e-07/0.02542, allocations: 0 / 0.8401 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004462/0.02587, allocations: 204 kB / 0.8403 GB, free: 4.078 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 0.0001046/0.02597, allocations: 123.1 kB / 0.8404 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004968/0.02647, allocations: 0.4981 MB / 0.8409 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.02647, allocations: 4 kB / 0.8409 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.02664, allocations: 261.7 kB / 0.8412 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.02713, allocations: 167.1 kB / 0.8413 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.02866, allocations: 1.387 MB / 0.8427 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.02878, allocations: 189.8 kB / 0.8429 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.02896, allocations: 89.55 kB / 0.8429 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.02925, allocations: 234.1 kB / 0.8432 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of SimCode: time 7.02e-07/0.02925, allocations: 0 / 0.8432 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of Templates: time 0.01234/0.04158, allocations: 10.28 MB / 0.8532 GB, free: 6.988 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.344664414878935]