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.001625/0.001625, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 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.001953/0.001953, allocations: 220 kB / 23.05 MB, free: 4.844 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.12/3.12, allocations: 0.49 GB / 0.7959 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 66.88 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005449/0.3696, allocations: 3.442 MB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.3743, allocations: 2.421 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.3746, allocations: 23.81 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.3754, allocations: 242.4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.3767, allocations: 0.5327 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.378, allocations: 0.5623 MB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.3799, allocations: 1.39 MB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.3801, allocations: 93.73 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.3807, allocations: 454.5 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008529/0.3816, allocations: 498.1 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.188e-05/0.3817, allocations: 52 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.3819, allocations: 72 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.3823, allocations: 366.9 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.3828, allocations: 386.1 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.3841, allocations: 0.9296 MB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3841, allocations: 0 / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3841, allocations: 0 / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.3841, allocations: 3.938 kB / 1.338 GB, free: 5.48 MB / 1.029 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.00269/0.3868, allocations: 1.232 MB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3868, allocations: 12.03 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.3872, allocations: 104.3 kB / 1.34 GB, free: 4.098 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3884, allocations: 0.6065 MB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.3884, allocations: 41.03 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3885, allocations: 60.33 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.3893, allocations: 406.9 kB / 1.341 GB, free: 2.938 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3893, allocations: 4 kB / 1.341 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.3893, allocations: 16 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3894, allocations: 8 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.3898, allocations: 222.4 kB / 1.341 GB, free: 2.691 MB / 1.029 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.003125/0.3929, allocations: 1.802 MB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3942, allocations: 468.2 kB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.3944, allocations: 145.2 kB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3945, allocations: 4.234 kB / 1.343 GB, free: 212 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3945, allocations: 30.8 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/0.3945, allocations: 0 / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.002118/0.3966, allocations: 1.075 MB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3967, allocations: 55.34 kB / 1.344 GB, free: 14.99 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.398, allocations: 0.9192 MB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.398, allocations: 37.7 kB / 1.345 GB, free: 14.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.3983, allocations: 381 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.3984, allocations: 115 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.3986, allocations: 170.6 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3988, allocations: 394.7 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.3992, allocations: 221.8 kB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.3999, allocations: 0.6313 MB / 1.347 GB, free: 11.93 MB / 1.045 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.003033/0.403, allocations: 1.608 MB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.403, allocations: 4 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001573/0.4045, allocations: 0.9038 MB / 1.35 GB, free: 9.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4046, allocations: 12 kB / 1.35 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.4046, allocations: 20 kB / 1.35 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.4048, allocations: 48.83 kB / 1.35 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.4054, allocations: 212.1 kB / 1.35 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.4067, allocations: 1.33 MB / 1.351 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.4074, allocations: 47.97 kB / 1.351 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.4075, allocations: 40 kB / 1.351 GB, free: 7.395 MB / 1.045 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.000435/0.4079, allocations: 315.5 kB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4081, allocations: 87.39 kB / 1.352 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.4082, allocations: 72.42 kB / 1.352 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4082, allocations: 4 kB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4082, allocations: 3.938 kB / 1.352 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4082, allocations: 3.984 kB / 1.352 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.4098, allocations: 0.9626 MB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4098, allocations: 4 kB / 1.353 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.4102, allocations: 83.88 kB / 1.353 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.4103, allocations: 32.83 kB / 1.353 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.4103, allocations: 8 kB / 1.353 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.4115, allocations: 1.308 MB / 1.354 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4115, allocations: 11.95 kB / 1.354 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.4125, allocations: 0.6597 MB / 1.355 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.4127, allocations: 123.4 kB / 1.355 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.4128, allocations: 11.94 kB / 1.355 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.4132, allocations: 24.12 kB / 1.355 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.4133, allocations: 27.84 kB / 1.355 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.4133, allocations: 15.98 kB / 1.355 GB, free: 3.445 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008532/0.4142, allocations: 0.6161 MB / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4142, allocations: 0 / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007745/0.415, allocations: 208 kB / 1.356 GB, free: 2.633 MB / 1.045 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.000149/0.4151, allocations: 103.2 kB / 1.356 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.4163, allocations: 0.6257 MB / 1.356 GB, free: 1.887 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4163, allocations: 0 / 1.356 GB, free: 1.887 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.4167, allocations: 260.5 kB / 1.357 GB, free: 1.621 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.4175, allocations: 171.9 kB / 1.357 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.4202, allocations: 1.692 MB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.4207, allocations: 380.3 kB / 1.359 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.4209, allocations: 55.44 kB / 1.359 GB, free: 15.25 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4209, allocations: 0 / 1.359 GB, free: 15.25 MB / 1.061 GB Notification: Performance of Templates: time 0.01925/0.4401, allocations: 12.49 MB / 1.371 GB, free: 2.797 MB / 1.061 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/jenkins1/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: 12.685100628994405]