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.0015/0.0015, allocations: 92.22 kB / 19.65 MB, free: 276 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.001774/0.001774, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9971/0.9971, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.074/2.074, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|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.[0-9,]+.|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.903e-06/1.903e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.186e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004702/0.004734, allocations: 3.764 MB / 0.8818 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003833/0.008567, allocations: 2.526 MB / 0.8843 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.009013, allocations: 19.81 kB / 0.8843 GB, free: 60 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.009738, allocations: 240.9 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.0108, allocations: 0.5518 MB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.01197, allocations: 0.5615 MB / 0.8856 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.01347, allocations: 1.421 MB / 0.887 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.01369, allocations: 105.6 kB / 0.8871 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.0147, allocations: 0.5963 MB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.0159, allocations: 451.5 kB / 0.8881 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.01602, allocations: 52.53 kB / 0.8881 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.0162, allocations: 76.91 kB / 0.8882 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.01649, allocations: 386.9 kB / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.01677, allocations: 315.3 kB / 0.8889 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.01744, allocations: 0.6342 MB / 0.8895 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01744, allocations: 0 / 0.8895 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01744, allocations: 0 / 0.8895 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.01747, allocations: 0 / 0.8895 GB, free: 10.69 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.001575/0.01904, allocations: 1.324 MB / 0.8908 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.01909, allocations: 20.02 kB / 0.8908 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.01937, allocations: 136.3 kB / 0.891 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.02014, allocations: 0.5898 MB / 0.8915 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.02017, allocations: 41.03 kB / 0.8916 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.02024, allocations: 56.38 kB / 0.8916 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.0206, allocations: 325 kB / 0.8919 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.02062, allocations: 8.125 kB / 0.8919 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.02064, allocations: 11.94 kB / 0.8919 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.02065, allocations: 8 kB / 0.892 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.02082, allocations: 115.7 kB / 0.8921 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.02276, allocations: 2.151 MB / 0.8942 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.02346, allocations: 384.8 kB / 0.8945 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.02356, allocations: 72.12 kB / 0.8946 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.02358, allocations: 4.234 kB / 0.8946 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.0236, allocations: 37.62 kB / 0.8946 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.794e-06/0.0236, allocations: 0 / 0.8946 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.001521/0.02512, allocations: 0.7509 MB / 0.8954 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.02516, allocations: 55.41 kB / 0.8954 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.02592, allocations: 0.8663 MB / 0.8963 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.02595, allocations: 37.7 kB / 0.8963 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.0262, allocations: 443.9 kB / 0.8967 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.02628, allocations: 123 kB / 0.8969 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.02644, allocations: 180.3 kB / 0.897 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.02662, allocations: 0.586 MB / 0.8976 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.02676, allocations: 81.94 kB / 0.8977 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.02715, allocations: 0.6647 MB / 0.8983 GB, free: 1.078 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.001132/0.02828, allocations: 1.13 MB / 0.8994 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.02829, allocations: 4 kB / 0.8994 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007505/0.02904, allocations: 0.6722 MB / 0.9001 GB, free: 15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.02906, allocations: 14.66 kB / 0.9001 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.02907, allocations: 16 kB / 0.9001 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.02928, allocations: 60.28 kB / 0.9002 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.02965, allocations: 203.6 kB / 0.9004 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.0312, allocations: 1.751 MB / 0.9021 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.03165, allocations: 44.09 kB / 0.9021 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.0317, allocations: 55.88 kB / 0.9022 GB, free: 12.74 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.0002332/0.03193, allocations: 243.9 kB / 0.9024 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.03204, allocations: 91.44 kB / 0.9025 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.18e-05/0.03211, allocations: 72.42 kB / 0.9026 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.03211, allocations: 4 kB / 0.9026 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.03212, allocations: 0 / 0.9026 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.03212, allocations: 3.984 kB / 0.9026 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.03312, allocations: 0.8936 MB / 0.9034 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.03312, allocations: 0 / 0.9034 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.03334, allocations: 87.88 kB / 0.9035 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.03347, allocations: 39.58 kB / 0.9036 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.03349, allocations: 12.12 kB / 0.9036 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/0.03427, allocations: 1.724 MB / 0.9053 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.03427, allocations: 8 kB / 0.9053 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.03471, allocations: 0.5054 MB / 0.9058 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.03487, allocations: 127.5 kB / 0.9059 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.03492, allocations: 8 kB / 0.9059 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.03511, allocations: 15.98 kB / 0.9059 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.03517, allocations: 27.89 kB / 0.9059 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.03518, allocations: 12 kB / 0.9059 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004302/0.03561, allocations: 0.5145 MB / 0.9064 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.03561, allocations: 0 / 0.9064 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004628/0.03607, allocations: 208 kB / 0.9066 GB, free: 7.926 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.0001199/0.03619, allocations: 119.1 kB / 0.9068 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006488/0.03684, allocations: 0.5255 MB / 0.9073 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03684, allocations: 0 / 0.9073 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.03703, allocations: 266.6 kB / 0.9075 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.03759, allocations: 173.1 kB / 0.9077 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.03954, allocations: 1.387 MB / 0.909 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.03966, allocations: 189.8 kB / 0.9092 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.03987, allocations: 129.6 kB / 0.9093 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.03998, allocations: 52.5 kB / 0.9094 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of SimCode: time 8.62e-07/0.03998, allocations: 0 / 0.9094 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of Templates: time 0.01254/0.05252, allocations: 9.449 MB / 0.9186 GB, free: 11.73 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.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.716531021986157]