Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001393/0.001393, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001515/0.001515, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.287/3.287, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [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.002117/0.002117, allocations: 71.05 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3955, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004185/0.3997, allocations: 2.593 MB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.4039, allocations: 2.605 MB / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.4041, allocations: 11.88 kB / 1.37 GB, free: 8.398 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.4056, allocations: 490.1 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.4063, allocations: 294.8 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.4073, allocations: 418.9 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.4093, allocations: 1.571 MB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.4094, allocations: 66.42 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007082/0.4102, allocations: 494.7 kB / 1.373 GB, free: 5.086 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.4108, allocations: 434.5 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.4109, allocations: 44 kB / 1.373 GB, free: 4.617 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.4111, allocations: 71.98 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.4114, allocations: 295.1 kB / 1.374 GB, free: 4.258 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.4117, allocations: 298.7 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.4127, allocations: 0.9302 MB / 1.375 GB, free: 3.031 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4127, allocations: 4 kB / 1.375 GB, free: 3.027 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4127, allocations: 0 / 1.375 GB, free: 3.027 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4127, allocations: 0 / 1.375 GB, free: 3.027 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002139/0.4149, allocations: 1.1 MB / 1.376 GB, free: 1.895 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4149, allocations: 8.031 kB / 1.376 GB, free: 1.887 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.4151, allocations: 92.41 kB / 1.376 GB, free: 1.797 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4162, allocations: 0.6265 MB / 1.377 GB, free: 1.148 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4163, allocations: 28.88 kB / 1.377 GB, free: 1.121 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.4163, allocations: 44.38 kB / 1.377 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.4169, allocations: 374 kB / 1.377 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.417, allocations: 4 kB / 1.377 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.417, allocations: 8 kB / 1.377 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.417, allocations: 11.94 kB / 1.377 GB, free: 0.668 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.4174, allocations: 233.5 kB / 1.377 GB, free: 452 kB / 1.061 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.00347/0.4209, allocations: 1.757 MB / 1.379 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.4219, allocations: 384.5 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.4221, allocations: 128.8 kB / 1.38 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4221, allocations: 8 kB / 1.38 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.4221, allocations: 34.5 kB / 1.38 GB, free: 14.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.4221, allocations: 0 / 1.38 GB, free: 14.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0009989/0.4231, allocations: 470 kB / 1.38 GB, free: 13.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4232, allocations: 55.41 kB / 1.38 GB, free: 13.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.4245, allocations: 0.9298 MB / 1.381 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4245, allocations: 37.7 kB / 1.381 GB, free: 12.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.4248, allocations: 304.8 kB / 1.381 GB, free: 12.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.4249, allocations: 79.31 kB / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.425, allocations: 118.3 kB / 1.382 GB, free: 12.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.4253, allocations: 382.8 kB / 1.382 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.4256, allocations: 241.1 kB / 1.382 GB, free: 11.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.4262, allocations: 0.5021 MB / 1.383 GB, free: 10.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.4271, allocations: 0.6968 MB / 1.383 GB, free: 9.973 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.4271, allocations: 3.938 kB / 1.383 GB, free: 9.969 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001298/0.4284, allocations: 0.8224 MB / 1.384 GB, free: 9.137 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4285, allocations: 12.88 kB / 1.384 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4285, allocations: 8 kB / 1.384 GB, free: 9.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.4287, allocations: 56.81 kB / 1.384 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.4292, allocations: 135.8 kB / 1.384 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.4305, allocations: 1.416 MB / 1.386 GB, free: 7.406 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.4312, allocations: 131.6 kB / 1.386 GB, free: 7.277 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.4312, allocations: 24 kB / 1.386 GB, free: 7.254 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0003987/0.4316, allocations: 342.5 kB / 1.386 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4317, allocations: 63.58 kB / 1.386 GB, free: 6.848 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.4318, allocations: 69.8 kB / 1.386 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4318, allocations: 4 kB / 1.386 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4318, allocations: 0 / 1.386 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4319, allocations: 0 / 1.386 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.4325, allocations: 436.9 kB / 1.387 GB, free: 6.312 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4325, allocations: 4 kB / 1.387 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4327, allocations: 51.95 kB / 1.387 GB, free: 6.258 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.4328, allocations: 44.77 kB / 1.387 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.4328, allocations: 7.984 kB / 1.387 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.4341, allocations: 1.393 MB / 1.388 GB, free: 4.703 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4341, allocations: 3.938 kB / 1.388 GB, free: 4.699 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.4349, allocations: 0.572 MB / 1.389 GB, free: 4.109 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.4352, allocations: 135.5 kB / 1.389 GB, free: 3.977 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.4352, allocations: 8 kB / 1.389 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.4356, allocations: 43.92 kB / 1.389 GB, free: 3.926 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.4357, allocations: 19.95 kB / 1.389 GB, free: 3.906 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4357, allocations: 4 kB / 1.389 GB, free: 3.902 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008928/0.4366, allocations: 0.6552 MB / 1.39 GB, free: 3.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4366, allocations: 4 kB / 1.39 GB, free: 3.246 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006199/0.4372, allocations: 187.8 kB / 1.39 GB, free: 3.062 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0001281/0.4373, allocations: 103.2 kB / 1.39 GB, free: 2.953 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009308/0.4383, allocations: 0.5664 MB / 1.39 GB, free: 2.375 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4383, allocations: 0 / 1.39 GB, free: 2.375 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.4386, allocations: 246.4 kB / 1.391 GB, free: 2.121 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.4394, allocations: 172.3 kB / 1.391 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.4417, allocations: 1.582 MB / 1.392 GB, free: 352 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.4422, allocations: 400.8 kB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.4423, allocations: 43.38 kB / 1.393 GB, free: 15.88 MB / 1.092 GB Notification: Performance of SimCode: time 2.8e-07/0.4423, allocations: 0 / 1.393 GB, free: 15.88 MB / 1.092 GB Notification: Performance of Templates: time 0.0171/0.4594, allocations: 12.59 MB / 1.405 GB, free: 3.332 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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: 13.117384284734726]