Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001843/0.001843, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002377/0.002377, allocations: 212.2 kB / 22.25 MB, free: 4.855 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.627/1.627, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.495/3.495, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00223/0.00223, allocations: 65.95 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4074, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006886/0.4143, allocations: 3.444 MB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005877/0.4202, allocations: 2.419 MB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.4206, allocations: 19.81 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.4215, allocations: 242.4 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.4226, allocations: 0.5366 MB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.4241, allocations: 0.5563 MB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.4259, allocations: 1.394 MB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.4262, allocations: 93.72 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.4268, allocations: 458.5 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.4276, allocations: 494 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4277, allocations: 56 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.4279, allocations: 71.98 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.4284, allocations: 370.9 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.4287, allocations: 382.1 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.4298, allocations: 0.9296 MB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4298, allocations: 4 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4298, allocations: 0 / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.4298, allocations: 0 / 1.375 GB, free: 2.145 MB / 1.061 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.002481/0.4323, allocations: 1.22 MB / 1.376 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4323, allocations: 8.031 kB / 1.376 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.4327, allocations: 112.3 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.4339, allocations: 0.6104 MB / 1.377 GB, free: 140 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.4339, allocations: 41.03 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.434, allocations: 56.38 kB / 1.377 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.4347, allocations: 403 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.4347, allocations: 7.938 kB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.4347, allocations: 15.98 kB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4347, allocations: 8 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.4352, allocations: 226.4 kB / 1.378 GB, free: 15.36 MB / 1.076 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.0029/0.4381, allocations: 1.802 MB / 1.379 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.4393, allocations: 467.1 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.4396, allocations: 145.2 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4396, allocations: 4.234 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4396, allocations: 34.8 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.4396, allocations: 0 / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.00216/0.4418, allocations: 1.064 MB / 1.381 GB, free: 11.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4419, allocations: 59.34 kB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.4431, allocations: 0.9231 MB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.4431, allocations: 41.64 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.4435, allocations: 377.1 kB / 1.382 GB, free: 10.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.4436, allocations: 123 kB / 1.382 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.4438, allocations: 170.6 kB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.4441, allocations: 386.8 kB / 1.383 GB, free: 9.633 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4445, allocations: 233.8 kB / 1.383 GB, free: 9.406 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/0.4452, allocations: 0.6235 MB / 1.384 GB, free: 8.598 MB / 1.076 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.003886/0.4491, allocations: 1.614 MB / 1.385 GB, free: 6.789 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.4492, allocations: 4 kB / 1.385 GB, free: 6.785 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002477/0.4516, allocations: 0.9039 MB / 1.386 GB, free: 5.871 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.4517, allocations: 12 kB / 1.386 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.4517, allocations: 12 kB / 1.386 GB, free: 5.848 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.452, allocations: 49.33 kB / 1.386 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/0.4529, allocations: 215.6 kB / 1.387 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.4543, allocations: 1.342 MB / 1.388 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/0.4551, allocations: 43.97 kB / 1.388 GB, free: 4.098 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/0.4552, allocations: 36 kB / 1.388 GB, free: 4.062 MB / 1.076 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.0004781/0.4557, allocations: 299.8 kB / 1.388 GB, free: 3.762 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.4559, allocations: 87.38 kB / 1.388 GB, free: 3.676 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.456, allocations: 80.41 kB / 1.388 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.456, allocations: 0 / 1.388 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.456, allocations: 7.938 kB / 1.388 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.456, allocations: 0 / 1.388 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.4579, allocations: 0.9788 MB / 1.389 GB, free: 2.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4579, allocations: 0 / 1.389 GB, free: 2.555 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.4583, allocations: 83.88 kB / 1.389 GB, free: 2.473 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.4584, allocations: 28.84 kB / 1.389 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.4585, allocations: 11.98 kB / 1.39 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.4597, allocations: 1.303 MB / 1.391 GB, free: 1.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4597, allocations: 3.938 kB / 1.391 GB, free: 1.016 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4607, allocations: 0.6677 MB / 1.391 GB, free: 324 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.4611, allocations: 119.4 kB / 1.392 GB, free: 204 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.4612, allocations: 11.94 kB / 1.392 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.4617, allocations: 28.12 kB / 1.392 GB, free: 164 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.4618, allocations: 19.97 kB / 1.392 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.4618, allocations: 12 kB / 1.392 GB, free: 132 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009437/0.4627, allocations: 0.6199 MB / 1.392 GB, free: 15.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4627, allocations: 0 / 1.392 GB, free: 15.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007677/0.4635, allocations: 208 kB / 1.392 GB, free: 15.31 MB / 1.092 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.0001513/0.4636, allocations: 107.2 kB / 1.393 GB, free: 15.2 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.4649, allocations: 0.6215 MB / 1.393 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4649, allocations: 0 / 1.393 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.4653, allocations: 258.5 kB / 1.393 GB, free: 14.3 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.4662, allocations: 171.2 kB / 1.394 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.4689, allocations: 1.636 MB / 1.395 GB, free: 12.45 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.4694, allocations: 388.3 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004475/0.4699, allocations: 153.6 kB / 1.396 GB, free: 11.89 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.47, allocations: 51.44 kB / 1.396 GB, free: 11.84 MB / 1.092 GB Notification: Performance of SimCode: time 3.2e-07/0.47, allocations: 0 / 1.396 GB, free: 11.84 MB / 1.092 GB Notification: Performance of Templates: time 0.02122/0.4913, allocations: 10.54 MB / 1.406 GB, free: 1.512 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.847079684957862]