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.002033/0.002033, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002204/0.002204, allocations: 207.2 kB / 22.99 MB, free: 4.957 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 70.72 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4352, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005717/0.4409, allocations: 3.428 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005343/0.4462, allocations: 2.427 MB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006669/0.4469, allocations: 23.81 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.4478, allocations: 238.4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.4493, allocations: 0.5483 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.451, allocations: 0.5691 MB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.4534, allocations: 1.383 MB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.4536, allocations: 101.7 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.4544, allocations: 462.4 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008884/0.4553, allocations: 0.5059 MB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.4554, allocations: 56 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.4556, allocations: 75.98 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.4561, allocations: 370.9 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.4565, allocations: 378.2 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.4577, allocations: 0.9374 MB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4577, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4577, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4577, allocations: 3.938 kB / 1.338 GB, free: 5.438 MB / 1.029 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.002615/0.4603, allocations: 1.224 MB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4604, allocations: 8.031 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.4607, allocations: 108.3 kB / 1.34 GB, free: 4.062 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.4619, allocations: 0.6104 MB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.4619, allocations: 37.03 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.4621, allocations: 64.33 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.4628, allocations: 406.9 kB / 1.341 GB, free: 2.898 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4628, allocations: 7.938 kB / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.4628, allocations: 8 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4629, allocations: 12 kB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.4633, allocations: 222.4 kB / 1.341 GB, free: 2.656 MB / 1.029 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.003102/0.4664, allocations: 1.798 MB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4678, allocations: 463.2 kB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.468, allocations: 149.2 kB / 1.343 GB, free: 184 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.468, allocations: 240 / 1.343 GB, free: 184 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4681, allocations: 34.8 kB / 1.343 GB, free: 140 kB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.4681, allocations: 0 / 1.343 GB, free: 140 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.00249/0.4706, allocations: 1.074 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4706, allocations: 59.39 kB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.472, allocations: 0.9192 MB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.4721, allocations: 41.7 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.4724, allocations: 377.1 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4725, allocations: 115 kB / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.4728, allocations: 166.6 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.473, allocations: 394.8 kB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.4735, allocations: 229.8 kB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/0.4745, allocations: 0.6196 MB / 1.347 GB, free: 11.9 MB / 1.045 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.003404/0.4779, allocations: 1.607 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.4779, allocations: 7.984 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001798/0.4797, allocations: 0.8999 MB / 1.35 GB, free: 9.176 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4797, allocations: 12 kB / 1.35 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.4797, allocations: 12 kB / 1.35 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.48, allocations: 61.27 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.4806, allocations: 207.7 kB / 1.35 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.4821, allocations: 1.338 MB / 1.351 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/0.483, allocations: 43.97 kB / 1.351 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.4831, allocations: 40.16 kB / 1.351 GB, free: 7.363 MB / 1.045 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.0005115/0.4836, allocations: 309.3 kB / 1.352 GB, free: 7.051 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.4837, allocations: 83.39 kB / 1.352 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.4839, allocations: 80.41 kB / 1.352 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4839, allocations: 4 kB / 1.352 GB, free: 6.883 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4839, allocations: 7.938 kB / 1.352 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4839, allocations: 0 / 1.352 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.4858, allocations: 0.9665 MB / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4858, allocations: 0 / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.4862, allocations: 83.88 kB / 1.353 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.4863, allocations: 36.83 kB / 1.353 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.4863, allocations: 8 kB / 1.353 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.4877, allocations: 1.308 MB / 1.354 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.4877, allocations: 11.95 kB / 1.354 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4888, allocations: 0.6618 MB / 1.355 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4891, allocations: 127.4 kB / 1.355 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.4892, allocations: 12.09 kB / 1.355 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.4896, allocations: 23.97 kB / 1.355 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.4897, allocations: 15.97 kB / 1.355 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.4897, allocations: 12 kB / 1.355 GB, free: 3.422 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009514/0.4907, allocations: 0.62 MB / 1.356 GB, free: 2.809 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4907, allocations: 0 / 1.356 GB, free: 2.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009168/0.4916, allocations: 204 kB / 1.356 GB, free: 2.609 MB / 1.045 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.0001755/0.4918, allocations: 112.4 kB / 1.356 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.4931, allocations: 0.6214 MB / 1.356 GB, free: 1.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4932, allocations: 4 kB / 1.356 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.4936, allocations: 259.8 kB / 1.357 GB, free: 1.59 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.4944, allocations: 169.6 kB / 1.357 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.4972, allocations: 1.636 MB / 1.358 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.4976, allocations: 388.3 kB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004388/0.4981, allocations: 153.5 kB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.4982, allocations: 51.44 kB / 1.359 GB, free: 15.13 MB / 1.061 GB Notification: Performance of SimCode: time 9.61e-07/0.4982, allocations: 4 kB / 1.359 GB, free: 15.13 MB / 1.061 GB Notification: Performance of Templates: time 0.02229/0.5205, allocations: 10.67 MB / 1.369 GB, free: 4.68 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.749274724003044]