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.000989/0.000989, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0015/0.0015, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9495/0.9495, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 2.055/2.055, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 177] 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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.376e-05, allocations: 12.86 kB / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003087/0.003111, allocations: 2.771 MB / 0.8821 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.006145, allocations: 2.765 MB / 0.8848 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.006345, allocations: 15.88 kB / 0.8848 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.007446, allocations: 486 kB / 0.8852 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.007904, allocations: 306.5 kB / 0.8855 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.008603, allocations: 418.8 kB / 0.8859 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.01002, allocations: 1.544 MB / 0.8874 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.01017, allocations: 70.36 kB / 0.8875 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.01081, allocations: 0.6005 MB / 0.8881 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.01125, allocations: 419.1 kB / 0.8885 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.01131, allocations: 51.94 kB / 0.8885 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.01142, allocations: 56 kB / 0.8886 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.01164, allocations: 303.2 kB / 0.8889 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.01183, allocations: 255.4 kB / 0.8891 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005009/0.01234, allocations: 0.6073 MB / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01234, allocations: 0 / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.52e-07/0.01234, allocations: 0 / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.01235, allocations: 0 / 0.8897 GB, free: 11.45 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001191/0.01354, allocations: 1.133 MB / 0.8908 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.01357, allocations: 12.03 kB / 0.8908 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.01373, allocations: 100.5 kB / 0.8909 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.01421, allocations: 0.5121 MB / 0.8914 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.01423, allocations: 24.88 kB / 0.8915 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.01428, allocations: 56.27 kB / 0.8915 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.01451, allocations: 235.7 kB / 0.8917 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01452, allocations: 192 / 0.8917 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.01454, allocations: 12.12 kB / 0.8917 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.01455, allocations: 8 kB / 0.8918 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.01464, allocations: 67.33 kB / 0.8918 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.01609, allocations: 1.533 MB / 0.8933 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.01652, allocations: 239.1 kB / 0.8935 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.01657, allocations: 39.67 kB / 0.8936 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.01658, allocations: 4 kB / 0.8936 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.0166, allocations: 37.7 kB / 0.8936 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.01661, allocations: 0 / 0.8936 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003834/0.01699, allocations: 227 kB / 0.8938 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.01701, allocations: 55.41 kB / 0.8939 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.0176, allocations: 0.8114 MB / 0.8947 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.01762, allocations: 37.7 kB / 0.8947 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.01784, allocations: 407.4 kB / 0.8951 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.0179, allocations: 83.3 kB / 0.8952 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.01802, allocations: 151.9 kB / 0.8953 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01822, allocations: 0.6054 MB / 0.8959 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.01828, allocations: 37.28 kB / 0.896 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.01852, allocations: 461.2 kB / 0.8964 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.01886, allocations: 0.5441 MB / 0.8969 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01886, allocations: 4 kB / 0.8969 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004824/0.01935, allocations: 444.9 kB / 0.8974 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01936, allocations: 19.92 kB / 0.8974 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.01937, allocations: 12.09 kB / 0.8974 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.01953, allocations: 35.67 kB / 0.8974 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.01976, allocations: 123.8 kB / 0.8975 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008102/0.02057, allocations: 1.744 MB / 0.8992 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.02085, allocations: 59.52 kB / 0.8993 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.02088, allocations: 24 kB / 0.8993 GB, free: 0.875 MB / 0.8542 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.0001337/0.02101, allocations: 200.2 kB / 0.8995 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.02108, allocations: 67.58 kB / 0.8996 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.02113, allocations: 57.86 kB / 0.8996 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.02114, allocations: 4 kB / 0.8996 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.02114, allocations: 0 / 0.8996 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02115, allocations: 12.03 kB / 0.8997 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.02175, allocations: 352.8 kB / 0.9 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02176, allocations: 4 kB / 0.9 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.02188, allocations: 35.97 kB / 0.9 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.022, allocations: 31.66 kB / 0.9001 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.02202, allocations: 7.984 kB / 0.9001 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007121/0.02273, allocations: 1.725 MB / 0.9017 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02273, allocations: 0 / 0.9017 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.02302, allocations: 371 kB / 0.9021 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.02315, allocations: 103.5 kB / 0.9022 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.02319, allocations: 11.98 kB / 0.9022 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.02335, allocations: 11.94 kB / 0.9022 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.02338, allocations: 20 kB / 0.9022 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.02339, allocations: 4 kB / 0.9022 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003043/0.0237, allocations: 446.8 kB / 0.9027 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.0237, allocations: 0 / 0.9027 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004028/0.0241, allocations: 179.9 kB / 0.9028 GB, free: 13.09 MB / 0.8698 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.0001168/0.02422, allocations: 111.2 kB / 0.903 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.02461, allocations: 395.9 kB / 0.9033 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02461, allocations: 4.688 kB / 0.9033 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.02475, allocations: 237.5 kB / 0.9036 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.02526, allocations: 158.8 kB / 0.9037 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.02662, allocations: 1.15 MB / 0.9048 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.02674, allocations: 201.1 kB / 0.905 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.02689, allocations: 64.66 kB / 0.9051 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.02714, allocations: 206.1 kB / 0.9053 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/0.02714, allocations: 0 / 0.9053 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.01228/0.03942, allocations: 9.5 MB / 0.9146 GB, free: 1.191 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.403283830266446]