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.001804/0.001804, allocations: 101.4 kB / 16.45 MB, free: 6.5 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.001982/0.001982, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.299/3.299, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 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.002052/0.002052, allocations: 73.09 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 176.1 MB / 1.321 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006134/0.4167, allocations: 3.771 MB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.4217, allocations: 2.571 MB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.4222, allocations: 23.75 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.4231, allocations: 258.3 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.4244, allocations: 0.5022 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.4259, allocations: 0.5394 MB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.4278, allocations: 1.375 MB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.4281, allocations: 109.1 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.4289, allocations: 450.5 kB / 1.331 GB, free: 9.262 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007464/0.4296, allocations: 0.4903 MB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.4297, allocations: 59.94 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4299, allocations: 75.98 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.4303, allocations: 354.9 kB / 1.332 GB, free: 8.289 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.4308, allocations: 461.5 kB / 1.332 GB, free: 7.836 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.4319, allocations: 0.9256 MB / 1.333 GB, free: 6.906 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.4319, allocations: 8 kB / 1.333 GB, free: 6.898 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.946e-06/0.4319, allocations: 0 / 1.333 GB, free: 6.898 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.432, allocations: 0 / 1.333 GB, free: 6.898 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.00271/0.4347, allocations: 1.288 MB / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4347, allocations: 12.03 kB / 1.334 GB, free: 5.543 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.4351, allocations: 112.3 kB / 1.334 GB, free: 5.434 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.4362, allocations: 0.6721 MB / 1.335 GB, free: 4.723 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.4363, allocations: 45.03 kB / 1.335 GB, free: 4.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4364, allocations: 60.36 kB / 1.335 GB, free: 4.621 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.4371, allocations: 402.9 kB / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4372, allocations: 0 / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.4372, allocations: 12 kB / 1.335 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.4372, allocations: 8 kB / 1.335 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.4377, allocations: 230.4 kB / 1.336 GB, free: 3.949 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.003249/0.4409, allocations: 2.498 MB / 1.338 GB, free: 1.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.4423, allocations: 464.1 kB / 1.338 GB, free: 0.793 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.4425, allocations: 149.2 kB / 1.339 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4426, allocations: 8.234 kB / 1.339 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.4426, allocations: 30.8 kB / 1.339 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.4426, allocations: 0 / 1.339 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.002279/0.4449, allocations: 1.222 MB / 1.34 GB, free: 15.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.4449, allocations: 59.41 kB / 1.34 GB, free: 15.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.4462, allocations: 0.9271 MB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.4463, allocations: 41.7 kB / 1.341 GB, free: 14.24 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.4466, allocations: 369.2 kB / 1.341 GB, free: 13.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.4467, allocations: 123 kB / 1.341 GB, free: 13.76 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.4469, allocations: 166.6 kB / 1.342 GB, free: 13.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.4472, allocations: 394.8 kB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.4476, allocations: 229.8 kB / 1.342 GB, free: 12.97 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/0.4484, allocations: 0.627 MB / 1.343 GB, free: 12.16 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.003226/0.4516, allocations: 1.765 MB / 1.344 GB, free: 10.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4516, allocations: 8 kB / 1.344 GB, free: 10.15 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001534/0.4531, allocations: 0.8995 MB / 1.345 GB, free: 9.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4532, allocations: 16.78 kB / 1.345 GB, free: 9.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.4532, allocations: 12 kB / 1.345 GB, free: 9.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.4534, allocations: 56.81 kB / 1.345 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.454, allocations: 207.6 kB / 1.346 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.4553, allocations: 1.46 MB / 1.347 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.4561, allocations: 43.97 kB / 1.347 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.4562, allocations: 40 kB / 1.347 GB, free: 7.27 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.0003995/0.4566, allocations: 297.5 kB / 1.347 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4567, allocations: 87.39 kB / 1.347 GB, free: 6.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.4569, allocations: 84.45 kB / 1.348 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4569, allocations: 4 kB / 1.348 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4569, allocations: 0 / 1.348 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4569, allocations: 0 / 1.348 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.4586, allocations: 1.136 MB / 1.349 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4586, allocations: 4 kB / 1.349 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.459, allocations: 83.88 kB / 1.349 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.4591, allocations: 36.95 kB / 1.349 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.4591, allocations: 11.94 kB / 1.349 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.4603, allocations: 1.445 MB / 1.35 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4603, allocations: 0 / 1.35 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/0.4613, allocations: 0.6712 MB / 1.351 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.4616, allocations: 204.5 kB / 1.351 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/0.4617, allocations: 11.98 kB / 1.351 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.4621, allocations: 15.98 kB / 1.351 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.4622, allocations: 31.91 kB / 1.351 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.4622, allocations: 8 kB / 1.351 GB, free: 2.875 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008821/0.4631, allocations: 0.6239 MB / 1.352 GB, free: 2.258 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4631, allocations: 0 / 1.352 GB, free: 2.258 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007898/0.4639, allocations: 208 kB / 1.352 GB, free: 2.055 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.0001508/0.4641, allocations: 117.5 kB / 1.352 GB, free: 1.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.4652, allocations: 0.6214 MB / 1.353 GB, free: 1.301 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4652, allocations: 0 / 1.353 GB, free: 1.301 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.4656, allocations: 265.8 kB / 1.353 GB, free: 1.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.4665, allocations: 175.6 kB / 1.353 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.4689, allocations: 1.636 MB / 1.355 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.4696, allocations: 0.9876 MB / 1.356 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000386/0.47, allocations: 157.8 kB / 1.356 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4701, allocations: 55.44 kB / 1.356 GB, free: 13.95 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.4701, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.061 GB Notification: Performance of Templates: time 0.0201/0.4902, allocations: 9.332 MB / 1.365 GB, free: 4.734 MB / 1.061 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=400 -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/jenkins/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.500280224252492]