Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001879/0.001879, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.001957/0.001957, allocations: 157.3 kB / 23.54 MB, free: 0.8789 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.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.085/3.085, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.223e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006114/0.006146, allocations: 3.714 MB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005124/0.01127, allocations: 2.511 MB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.01168, allocations: 23.81 kB / 0.8169 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.01249, allocations: 238.3 kB / 0.8171 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.01377, allocations: 0.557 MB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.01535, allocations: 0.5725 MB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.01727, allocations: 1.417 MB / 0.8196 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.01753, allocations: 102.6 kB / 0.8197 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.01854, allocations: 0.6041 MB / 0.8203 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.01936, allocations: 455.6 kB / 0.8207 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.01948, allocations: 53.28 kB / 0.8207 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.0197, allocations: 64 kB / 0.8208 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007596/0.02046, allocations: 387.6 kB / 0.8212 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.02088, allocations: 311.3 kB / 0.8215 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.02204, allocations: 0.904 MB / 0.8224 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.02205, allocations: 4 kB / 0.8224 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.02205, allocations: 0 / 0.8224 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.02206, allocations: 1.562 kB / 0.8224 GB, free: 6.238 MB / 0.7761 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.002612/0.02468, allocations: 1.353 MB / 0.8237 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.02471, allocations: 8.031 kB / 0.8237 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.02506, allocations: 144.3 kB / 0.8238 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.02627, allocations: 0.6081 MB / 0.8244 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.02631, allocations: 41.62 kB / 0.8245 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.02642, allocations: 56.38 kB / 0.8245 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.02705, allocations: 371.4 kB / 0.8249 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.02707, allocations: 4.188 kB / 0.8249 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.0271, allocations: 19.94 kB / 0.8249 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.02711, allocations: 8 kB / 0.8249 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.02748, allocations: 158.4 kB / 0.8251 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.03091, allocations: 2.269 MB / 0.8273 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.03216, allocations: 374 kB / 0.8276 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.03237, allocations: 88.12 kB / 0.8277 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.0324, allocations: 5.484 kB / 0.8277 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.03244, allocations: 45.55 kB / 0.8278 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.03244, allocations: 0 / 0.8278 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.002231/0.03467, allocations: 0.8013 MB / 0.8285 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.03473, allocations: 59.41 kB / 0.8286 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.03625, allocations: 1.015 MB / 0.8296 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.0363, allocations: 37.7 kB / 0.8296 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/0.03675, allocations: 471.9 kB / 0.8301 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.0369, allocations: 127 kB / 0.8302 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/0.03719, allocations: 204.2 kB / 0.8304 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000441/0.03763, allocations: 0.6094 MB / 0.831 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.0379, allocations: 102.6 kB / 0.8311 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/0.03875, allocations: 0.6898 MB / 0.8318 GB, free: 12.07 MB / 0.7917 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.00298/0.04173, allocations: 1.353 MB / 0.8331 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.04174, allocations: 8 kB / 0.8331 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001459/0.0432, allocations: 0.6955 MB / 0.8338 GB, free: 9.738 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.04323, allocations: 12 kB / 0.8338 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.04325, allocations: 16.78 kB / 0.8338 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.04356, allocations: 59.59 kB / 0.8339 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.0443, allocations: 203.7 kB / 0.834 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.04624, allocations: 1.786 MB / 0.8358 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.04707, allocations: 40.02 kB / 0.8358 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/0.04715, allocations: 47.94 kB / 0.8359 GB, free: 7.457 MB / 0.7917 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.0003987/0.04755, allocations: 272.1 kB / 0.8361 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.04771, allocations: 99.39 kB / 0.8362 GB, free: 7.082 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.04787, allocations: 72.41 kB / 0.8363 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.04788, allocations: 4 kB / 0.8363 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.04788, allocations: 0 / 0.8363 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.04788, allocations: 0 / 0.8363 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.04972, allocations: 0.9953 MB / 0.8373 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.04973, allocations: 0 / 0.8373 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.05015, allocations: 83.88 kB / 0.8374 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.05037, allocations: 43.72 kB / 0.8374 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.0504, allocations: 8 kB / 0.8374 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.05194, allocations: 1.752 MB / 0.8391 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.05194, allocations: 0 / 0.8391 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/0.05288, allocations: 0.5572 MB / 0.8397 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.05325, allocations: 119.4 kB / 0.8398 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.05334, allocations: 8 kB / 0.8398 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.05377, allocations: 20.03 kB / 0.8398 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.05386, allocations: 31.84 kB / 0.8398 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.05388, allocations: 15.98 kB / 0.8398 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009442/0.05482, allocations: 0.6044 MB / 0.8404 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.05482, allocations: 4 kB / 0.8404 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008273/0.05565, allocations: 207.9 kB / 0.8406 GB, free: 2.34 MB / 0.7917 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.0001811/0.05583, allocations: 115.2 kB / 0.8407 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.05705, allocations: 0.5624 MB / 0.8413 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.05706, allocations: 0 / 0.8413 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.05776, allocations: 285.6 kB / 0.8416 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.05865, allocations: 171.9 kB / 0.8417 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.06098, allocations: 1.396 MB / 0.8431 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.06145, allocations: 384.2 kB / 0.8435 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.06183, allocations: 129.6 kB / 0.8436 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.06199, allocations: 48.5 kB / 0.8436 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.06199, allocations: 0 / 0.8436 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.02018/0.08217, allocations: 9.454 MB / 0.8529 GB, free: 5.926 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.59047402208671]