Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001006/0.001006, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009654/0.0009654, allocations: 169 kB / 24.28 MB, free: 280 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 1.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.806/1.806, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.744e-05, allocations: 2.312 kB / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003338/0.003355, allocations: 3.744 MB / 0.7907 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.006366, allocations: 2.513 MB / 0.7932 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.006664, allocations: 19.81 kB / 0.7932 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007983/0.007462, allocations: 242.3 kB / 0.7934 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007921/0.008254, allocations: 0.5437 MB / 0.7939 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.009139, allocations: 0.5687 MB / 0.7945 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.01031, allocations: 1.414 MB / 0.7959 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.0105, allocations: 101.7 kB / 0.796 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.01112, allocations: 0.6057 MB / 0.7966 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.01157, allocations: 446.8 kB / 0.797 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.01164, allocations: 57.69 kB / 0.797 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.01176, allocations: 67.92 kB / 0.7971 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.01203, allocations: 390.9 kB / 0.7975 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.01227, allocations: 311.3 kB / 0.7978 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.01282, allocations: 0.6351 MB / 0.7984 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01283, allocations: 0 / 0.7984 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01283, allocations: 0.5312 kB / 0.7984 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.01284, allocations: 0 / 0.7984 GB, free: 1.238 MB / 0.7448 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.001327/0.01416, allocations: 1.326 MB / 0.7997 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.0142, allocations: 9.375 kB / 0.7997 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.01442, allocations: 140.3 kB / 0.7998 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.01519, allocations: 0.5888 MB / 0.8004 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.01521, allocations: 37.69 kB / 0.8004 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.01527, allocations: 60.38 kB / 0.8005 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.01561, allocations: 332.5 kB / 0.8008 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01562, allocations: 4.172 kB / 0.8008 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.01564, allocations: 15.94 kB / 0.8008 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.01565, allocations: 8 kB / 0.8008 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.01581, allocations: 115.7 kB / 0.801 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.01741, allocations: 2.151 MB / 0.8031 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.01807, allocations: 381.6 kB / 0.8034 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.01817, allocations: 75.23 kB / 0.8035 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.01818, allocations: 4.234 kB / 0.8035 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.0182, allocations: 41.62 kB / 0.8035 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.0182, allocations: 0 / 0.8035 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.001017/0.01922, allocations: 0.7493 MB / 0.8043 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.01924, allocations: 51.41 kB / 0.8043 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.01991, allocations: 0.8741 MB / 0.8052 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.01994, allocations: 33.7 kB / 0.8052 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.02015, allocations: 443.9 kB / 0.8056 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.02022, allocations: 119 kB / 0.8057 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.02036, allocations: 188.1 kB / 0.8059 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.02052, allocations: 0.5869 MB / 0.8065 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.02065, allocations: 77.94 kB / 0.8066 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.02114, allocations: 0.6609 MB / 0.8072 GB, free: 7.648 MB / 0.7605 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.001035/0.02218, allocations: 1.132 MB / 0.8083 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.02218, allocations: 4 kB / 0.8083 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006936/0.02288, allocations: 0.6763 MB / 0.809 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.02289, allocations: 12 kB / 0.809 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.02291, allocations: 16 kB / 0.809 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.02308, allocations: 51.66 kB / 0.8091 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.02345, allocations: 207.9 kB / 0.8093 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/0.02418, allocations: 1.763 MB / 0.811 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.02451, allocations: 35.98 kB / 0.811 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.02454, allocations: 47.94 kB / 0.8111 GB, free: 3.309 MB / 0.7605 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.0001634/0.0247, allocations: 248 kB / 0.8113 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.02478, allocations: 95.44 kB / 0.8114 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.02484, allocations: 72.41 kB / 0.8115 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.02484, allocations: 4 kB / 0.8115 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.02485, allocations: 0 / 0.8115 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02485, allocations: 0 / 0.8115 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.02569, allocations: 0.8801 MB / 0.8123 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.02569, allocations: 12.12 kB / 0.8123 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.02589, allocations: 83.88 kB / 0.8124 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.026, allocations: 35.59 kB / 0.8124 GB, free: 1.812 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.02602, allocations: 8 kB / 0.8125 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007609/0.02678, allocations: 1.74 MB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.02678, allocations: 3.938 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.02719, allocations: 0.5027 MB / 0.8146 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.02733, allocations: 123.4 kB / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.02739, allocations: 11.98 kB / 0.8148 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.02759, allocations: 19.92 kB / 0.8148 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.02764, allocations: 35.95 kB / 0.8148 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.02764, allocations: 8 kB / 0.8148 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004075/0.02805, allocations: 0.5184 MB / 0.8153 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02805, allocations: 0 / 0.8153 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004301/0.02848, allocations: 204 kB / 0.8155 GB, free: 14.49 MB / 0.7761 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 8.794e-05/0.02857, allocations: 123 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.02912, allocations: 0.5271 MB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.02913, allocations: 0 / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.02931, allocations: 267.6 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.02981, allocations: 169.4 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.03132, allocations: 1.379 MB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.03144, allocations: 185.9 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.03164, allocations: 133.6 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.03174, allocations: 52.5 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.03174, allocations: 0 / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.01134/0.04309, allocations: 9.448 MB / 0.8275 GB, free: 2.328 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.2175765028223395]