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.001361/0.001361, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001588/0.001588, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.301/3.301, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.558e-05/3.751e-05, allocations: 5.266 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006633/0.006671, allocations: 3.453 MB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.0123, allocations: 2.417 MB / 0.8833 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008362/0.01314, allocations: 19.81 kB / 0.8833 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.01433, allocations: 246.3 kB / 0.8835 GB, free: 388 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.01675, allocations: 0.5557 MB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.01858, allocations: 0.5649 MB / 0.8846 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.02107, allocations: 1.417 MB / 0.886 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.02144, allocations: 93.73 kB / 0.8861 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.02317, allocations: 0.6041 MB / 0.8867 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.02418, allocations: 450.8 kB / 0.8871 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.02439, allocations: 56 kB / 0.8872 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.02468, allocations: 64 kB / 0.8872 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005751/0.02525, allocations: 386.9 kB / 0.8876 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006168/0.02587, allocations: 315.3 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.02722, allocations: 0.8992 MB / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.02723, allocations: 0 / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233e-06/0.02723, allocations: 0 / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.161e-05/0.02727, allocations: 0 / 0.8888 GB, free: 10.98 MB / 0.8542 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.003026/0.0303, allocations: 1.212 MB / 0.89 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.03034, allocations: 16.02 kB / 0.89 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.03073, allocations: 132.3 kB / 0.8901 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.03225, allocations: 0.6254 MB / 0.8907 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.0323, allocations: 41.03 kB / 0.8908 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.03241, allocations: 56.38 kB / 0.8908 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.03314, allocations: 399.5 kB / 0.8912 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.03316, allocations: 4.125 kB / 0.8912 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.0332, allocations: 19.94 kB / 0.8912 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.03322, allocations: 12 kB / 0.8912 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.03367, allocations: 222.4 kB / 0.8914 GB, free: 8.168 MB / 0.8542 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.003171/0.03684, allocations: 1.798 MB / 0.8932 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.03836, allocations: 471.1 kB / 0.8937 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.03864, allocations: 145.2 kB / 0.8938 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.03867, allocations: 4.234 kB / 0.8938 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.03871, allocations: 38.8 kB / 0.8938 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.03871, allocations: 0 / 0.8938 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.002546/0.04126, allocations: 1.08 MB / 0.8949 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.04131, allocations: 55.41 kB / 0.8949 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.04284, allocations: 0.9192 MB / 0.8958 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.04289, allocations: 41.7 kB / 0.8959 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.04331, allocations: 377.2 kB / 0.8962 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.04345, allocations: 115 kB / 0.8963 GB, free: 3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.0437, allocations: 166.6 kB / 0.8965 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002627/0.04396, allocations: 394.7 kB / 0.8969 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.04438, allocations: 225.8 kB / 0.8971 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.04545, allocations: 0.6235 MB / 0.8977 GB, free: 1.402 MB / 0.8542 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.003534/0.04898, allocations: 1.618 MB / 0.8993 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.049, allocations: 4 kB / 0.8993 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001891/0.05089, allocations: 0.9431 MB / 0.9002 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.05092, allocations: 8 kB / 0.9002 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.05095, allocations: 16 kB / 0.9002 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.05132, allocations: 60.81 kB / 0.9003 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.05209, allocations: 215.8 kB / 0.9005 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.05362, allocations: 1.33 MB / 0.9018 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.05447, allocations: 43.97 kB / 0.9018 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.05454, allocations: 43.94 kB / 0.9019 GB, free: 12.82 MB / 0.8698 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.0004862/0.05503, allocations: 309.9 kB / 0.9022 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.05525, allocations: 91.44 kB / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.05544, allocations: 76.42 kB / 0.9023 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.05545, allocations: 7.984 kB / 0.9023 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.05545, allocations: 0 / 0.9023 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.05546, allocations: 3.984 kB / 0.9023 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.05753, allocations: 0.9675 MB / 0.9033 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.05754, allocations: 0 / 0.9033 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.05798, allocations: 83.88 kB / 0.9034 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.05825, allocations: 48.75 kB / 0.9034 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.05829, allocations: 12 kB / 0.9034 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.05989, allocations: 1.303 MB / 0.9047 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.0599, allocations: 4.031 kB / 0.9047 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.06105, allocations: 0.6642 MB / 0.9054 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.06139, allocations: 123.4 kB / 0.9055 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.06152, allocations: 16.16 kB / 0.9055 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.06201, allocations: 19.97 kB / 0.9055 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.06209, allocations: 23.89 kB / 0.9055 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.06211, allocations: 12 kB / 0.9055 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00108/0.06319, allocations: 0.6161 MB / 0.9061 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.06319, allocations: 0 / 0.9061 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008821/0.06408, allocations: 211.9 kB / 0.9063 GB, free: 8.055 MB / 0.8698 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.0001859/0.06426, allocations: 115.1 kB / 0.9065 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.06568, allocations: 0.6252 MB / 0.9071 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.06569, allocations: 0 / 0.9071 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.06615, allocations: 272 kB / 0.9073 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/0.06713, allocations: 181.7 kB / 0.9075 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.06997, allocations: 1.507 MB / 0.909 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.07049, allocations: 392.3 kB / 0.9093 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.07094, allocations: 149.6 kB / 0.9095 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.07113, allocations: 56.5 kB / 0.9095 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of SimCode: time 1.212e-06/0.07113, allocations: 0 / 0.9095 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of Templates: time 0.02108/0.09221, allocations: 9.423 MB / 0.9187 GB, free: 11.46 MB / 0.8855 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: 8.603836701950058]