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.001709/0.001709, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001841/0.001841, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.789 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.458/3.458, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002907/0.002907, allocations: 67.09 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4808, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006885/0.4877, allocations: 3.438 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005655/0.4933, allocations: 2.412 MB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.4941, allocations: 19.81 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.4952, allocations: 238.4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.4971, allocations: 0.5444 MB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.4988, allocations: 0.5612 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.501, allocations: 1.383 MB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.5013, allocations: 93.73 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008058/0.5021, allocations: 458.5 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.5029, allocations: 490.1 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.503, allocations: 56 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.5033, allocations: 68 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/0.5037, allocations: 374.9 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.5043, allocations: 382.2 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.5055, allocations: 0.9451 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5055, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5055, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.5056, allocations: 0 / 1.337 GB, free: 6.391 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.002489/0.508, allocations: 1.216 MB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5081, allocations: 8.031 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.5084, allocations: 112.3 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.5097, allocations: 0.6104 MB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.5098, allocations: 37.03 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5099, allocations: 68.31 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.5106, allocations: 398.9 kB / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5106, allocations: 3.938 kB / 1.339 GB, free: 3.855 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.5106, allocations: 16 kB / 1.339 GB, free: 3.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.5106, allocations: 8 kB / 1.339 GB, free: 3.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.511, allocations: 226.4 kB / 1.339 GB, free: 3.613 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.00303/0.5141, allocations: 1.798 MB / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.5154, allocations: 467.1 kB / 1.341 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.5157, allocations: 149.2 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5157, allocations: 4.219 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.5157, allocations: 38.8 kB / 1.342 GB, free: 1.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.5157, allocations: 0 / 1.342 GB, free: 1.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.002247/0.518, allocations: 1.064 MB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.518, allocations: 55.41 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5193, allocations: 0.927 MB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.5194, allocations: 41.7 kB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5197, allocations: 377.1 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5198, allocations: 115 kB / 1.344 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.5201, allocations: 166.6 kB / 1.344 GB, free: 14.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.5203, allocations: 398.7 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.5207, allocations: 221.8 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.5215, allocations: 0.6196 MB / 1.346 GB, free: 12.85 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.003075/0.5246, allocations: 1.617 MB / 1.347 GB, free: 11.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5246, allocations: 4 kB / 1.347 GB, free: 11.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001536/0.5261, allocations: 0.908 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.5261, allocations: 14.03 kB / 1.348 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.5262, allocations: 12 kB / 1.348 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.5264, allocations: 56.83 kB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.527, allocations: 207.6 kB / 1.348 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.5284, allocations: 1.334 MB / 1.35 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.5291, allocations: 43.97 kB / 1.35 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.5292, allocations: 47.98 kB / 1.35 GB, free: 8.305 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.0004096/0.5296, allocations: 295.8 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.5297, allocations: 87.55 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.5299, allocations: 80.42 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5299, allocations: 4 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/0.5299, allocations: 7.875 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5299, allocations: 3.984 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5316, allocations: 0.9606 MB / 1.351 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5316, allocations: 128 / 1.351 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.532, allocations: 91.88 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.5321, allocations: 36.77 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.5322, allocations: 8 kB / 1.351 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.5333, allocations: 1.312 MB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/0.5333, allocations: 11.97 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009876/0.5343, allocations: 0.6558 MB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.5346, allocations: 131.4 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.5347, allocations: 15.92 kB / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.5352, allocations: 15.98 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.5352, allocations: 23.95 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.5353, allocations: 12.09 kB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009497/0.5362, allocations: 0.6161 MB / 1.354 GB, free: 3.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5362, allocations: 0 / 1.354 GB, free: 3.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007998/0.537, allocations: 208 kB / 1.354 GB, free: 3.551 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.0001542/0.5372, allocations: 111.2 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.5384, allocations: 0.615 MB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5384, allocations: 3.938 kB / 1.355 GB, free: 2.805 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.5388, allocations: 268.6 kB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.5397, allocations: 167 kB / 1.355 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.5422, allocations: 1.632 MB / 1.357 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.5427, allocations: 396.3 kB / 1.357 GB, free: 284 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.5431, allocations: 153.6 kB / 1.357 GB, free: 128 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.5432, allocations: 47.44 kB / 1.357 GB, free: 80 kB / 1.045 GB Notification: Performance of SimCode: time 1.312e-06/0.5432, allocations: 0 / 1.357 GB, free: 80 kB / 1.045 GB Notification: Performance of Templates: time 0.02065/0.5639, allocations: 10.54 MB / 1.368 GB, free: 5.762 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 -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: 10.130837382748723]