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.00147/0.00147, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001628/0.001628, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.578 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 2.985/2.985, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.483e-06/1.483e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.03e-05, allocations: 5.062 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005977/0.006007, allocations: 3.452 MB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004998/0.011, allocations: 2.425 MB / 0.8165 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.01137, allocations: 20.53 kB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.01235, allocations: 242.9 kB / 0.8167 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.01369, allocations: 0.5536 MB / 0.8173 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.01519, allocations: 0.5678 MB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.01709, allocations: 1.418 MB / 0.8192 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.01733, allocations: 97.7 kB / 0.8193 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.01837, allocations: 0.6101 MB / 0.8199 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007928/0.01916, allocations: 446.8 kB / 0.8203 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.01927, allocations: 55.94 kB / 0.8204 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.01945, allocations: 64 kB / 0.8205 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004804/0.01993, allocations: 386.1 kB / 0.8208 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.02034, allocations: 315.2 kB / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.02152, allocations: 0.8993 MB / 0.822 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02152, allocations: 0 / 0.822 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.02152, allocations: 4 kB / 0.822 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.02154, allocations: 0 / 0.822 GB, free: 6.598 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.0026/0.02413, allocations: 1.206 MB / 0.8232 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.02418, allocations: 12.03 kB / 0.8232 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.02455, allocations: 137.1 kB / 0.8233 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.02578, allocations: 0.6169 MB / 0.8239 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.02583, allocations: 38.16 kB / 0.824 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.02593, allocations: 60.38 kB / 0.824 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.02664, allocations: 403.5 kB / 0.8244 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.02666, allocations: 5.156 kB / 0.8244 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.02669, allocations: 15.94 kB / 0.8244 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.02671, allocations: 8.656 kB / 0.8244 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.02715, allocations: 223.7 kB / 0.8247 GB, free: 3.812 MB / 0.7761 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.003113/0.03027, allocations: 1.808 MB / 0.8264 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.03165, allocations: 473.3 kB / 0.8269 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.03192, allocations: 142.2 kB / 0.827 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.03194, allocations: 4.234 kB / 0.827 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.03198, allocations: 39.39 kB / 0.827 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.03199, allocations: 4 kB / 0.827 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.002269/0.03425, allocations: 1.063 MB / 0.8281 GB, free: 188 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.03431, allocations: 59.39 kB / 0.8281 GB, free: 116 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.03573, allocations: 0.9192 MB / 0.829 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.03578, allocations: 41.7 kB / 0.8291 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.03616, allocations: 385.1 kB / 0.8294 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.03629, allocations: 115 kB / 0.8296 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.03653, allocations: 170.6 kB / 0.8297 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.0368, allocations: 390.8 kB / 0.8301 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.03723, allocations: 229.8 kB / 0.8303 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.03824, allocations: 0.6157 MB / 0.8309 GB, free: 13.05 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.003325/0.04157, allocations: 1.624 MB / 0.8325 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.04158, allocations: 4 kB / 0.8325 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001607/0.04318, allocations: 0.9346 MB / 0.8334 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.04321, allocations: 12.91 kB / 0.8334 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.04324, allocations: 16 kB / 0.8334 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.04357, allocations: 64.81 kB / 0.8335 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.04429, allocations: 207.6 kB / 0.8337 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.04577, allocations: 1.342 MB / 0.835 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/0.04653, allocations: 43.97 kB / 0.8351 GB, free: 8.504 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.04659, allocations: 43.94 kB / 0.8351 GB, free: 8.461 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.0004438/0.04704, allocations: 303.9 kB / 0.8354 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.0472, allocations: 95.38 kB / 0.8355 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.04734, allocations: 80.41 kB / 0.8356 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.04734, allocations: 96 / 0.8356 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.04735, allocations: 8 kB / 0.8356 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.04736, allocations: 3.984 kB / 0.8356 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.0491, allocations: 0.9636 MB / 0.8365 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.0491, allocations: 0 / 0.8365 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.04952, allocations: 87.88 kB / 0.8366 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.04976, allocations: 48.89 kB / 0.8366 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.0498, allocations: 11.98 kB / 0.8366 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.05138, allocations: 1.3 MB / 0.8379 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.05138, allocations: 7.969 kB / 0.8379 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.0525, allocations: 0.6678 MB / 0.8386 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.05279, allocations: 127.4 kB / 0.8387 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.05288, allocations: 8.125 kB / 0.8387 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.05333, allocations: 23.97 kB / 0.8387 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.05341, allocations: 23.91 kB / 0.8388 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.05344, allocations: 12 kB / 0.8388 GB, free: 4.508 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009849/0.05442, allocations: 0.624 MB / 0.8394 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05442, allocations: 0 / 0.8394 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008041/0.05522, allocations: 204 kB / 0.8396 GB, free: 3.688 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.0001585/0.05538, allocations: 107.2 kB / 0.8397 GB, free: 3.574 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.05665, allocations: 0.6233 MB / 0.8403 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.05666, allocations: 0 / 0.8403 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.0571, allocations: 265.4 kB / 0.8405 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/0.05796, allocations: 169 kB / 0.8407 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.06052, allocations: 1.515 MB / 0.8422 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.06101, allocations: 384.3 kB / 0.8425 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004309/0.06144, allocations: 157.5 kB / 0.8427 GB, free: 396 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.06161, allocations: 56.48 kB / 0.8427 GB, free: 340 kB / 0.7917 GB Notification: Performance of SimCode: time 6.01e-07/0.06161, allocations: 0 / 0.8427 GB, free: 340 kB / 0.7917 GB Notification: Performance of Templates: time 0.01985/0.08146, allocations: 9.432 MB / 0.852 GB, free: 7.137 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] 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.252029872965068]