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.001679/0.001679, allocations: 112.3 kB / 17.13 MB, free: 6.008 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.002093/0.002093, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.851/2.851, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] 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.002019/0.002019, allocations: 67.91 kB / 1.15 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8737, allocations: 176.1 MB / 1.322 GB, free: 25.33 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003646/0.8773, allocations: 3.758 MB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.8806, allocations: 2.57 MB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.8809, allocations: 21.41 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.8815, allocations: 259.7 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008381/0.8824, allocations: 0.5019 MB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.8835, allocations: 0.5415 MB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.8851, allocations: 1.374 MB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.8853, allocations: 102.9 kB / 1.331 GB, free: 19.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006961/0.886, allocations: 453.4 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.8867, allocations: 0.4919 MB / 1.332 GB, free: 19.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.8868, allocations: 54.41 kB / 1.332 GB, free: 19.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.8869, allocations: 72.39 kB / 1.332 GB, free: 19.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.8873, allocations: 359.4 kB / 1.332 GB, free: 19.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.8877, allocations: 465 kB / 1.333 GB, free: 18.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.8887, allocations: 0.923 MB / 1.334 GB, free: 18.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8887, allocations: 5.406 kB / 1.334 GB, free: 18.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8887, allocations: 0 / 1.334 GB, free: 18.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.8887, allocations: 0 / 1.334 GB, free: 18.48 MB / 1.061 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.002265/0.891, allocations: 1.291 MB / 1.335 GB, free: 17.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.891, allocations: 9.656 kB / 1.335 GB, free: 17.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.8913, allocations: 116.2 kB / 1.335 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.8924, allocations: 0.6723 MB / 1.336 GB, free: 17.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.8924, allocations: 42.78 kB / 1.336 GB, free: 17.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.8925, allocations: 58.22 kB / 1.336 GB, free: 17.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.8931, allocations: 404.4 kB / 1.336 GB, free: 16.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8931, allocations: 0 / 1.336 GB, free: 16.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.8931, allocations: 12.12 kB / 1.336 GB, free: 16.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.8931, allocations: 7.969 kB / 1.336 GB, free: 16.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.8935, allocations: 225.4 kB / 1.336 GB, free: 16.77 MB / 1.061 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.002511/0.896, allocations: 2.504 MB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.8972, allocations: 469.4 kB / 1.339 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.8975, allocations: 147.1 kB / 1.339 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.8975, allocations: 9.062 kB / 1.339 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.8975, allocations: 36.33 kB / 1.339 GB, free: 14.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.8975, allocations: 0 / 1.339 GB, free: 14.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001891/0.8994, allocations: 1.222 MB / 1.341 GB, free: 13.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.8994, allocations: 58.59 kB / 1.341 GB, free: 13.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.9006, allocations: 0.9312 MB / 1.342 GB, free: 13.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.9006, allocations: 40.55 kB / 1.342 GB, free: 13.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.9008, allocations: 370.1 kB / 1.342 GB, free: 13.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.9009, allocations: 115.6 kB / 1.342 GB, free: 13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.9011, allocations: 170.6 kB / 1.342 GB, free: 12.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9012, allocations: 390.4 kB / 1.343 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.9016, allocations: 230.9 kB / 1.343 GB, free: 12.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.9021, allocations: 0.6256 MB / 1.343 GB, free: 11.9 MB / 1.061 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.002719/0.9048, allocations: 1.76 MB / 1.345 GB, free: 10.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.9048, allocations: 8.094 kB / 1.345 GB, free: 10.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001412/0.9062, allocations: 0.904 MB / 1.346 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.9062, allocations: 11.91 kB / 1.346 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9062, allocations: 13.34 kB / 1.346 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.9064, allocations: 52.22 kB / 1.346 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.9071, allocations: 207.2 kB / 1.346 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008194/0.9079, allocations: 1.47 MB / 1.348 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.9088, allocations: 43.3 kB / 1.348 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.9088, allocations: 40.12 kB / 1.348 GB, free: 8.945 MB / 1.061 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.0003742/0.9092, allocations: 306.2 kB / 1.348 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.9093, allocations: 86.89 kB / 1.348 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.9094, allocations: 80.83 kB / 1.348 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9094, allocations: 3.438 kB / 1.348 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9094, allocations: 0.75 kB / 1.348 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9095, allocations: 1.875 kB / 1.348 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.911, allocations: 1.141 MB / 1.349 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.911, allocations: 0.8125 kB / 1.349 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.9114, allocations: 82.16 kB / 1.349 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.9115, allocations: 34.39 kB / 1.349 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.9115, allocations: 10.86 kB / 1.35 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006817/0.9122, allocations: 1.439 MB / 1.351 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9122, allocations: 5 kB / 1.351 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.9131, allocations: 0.6696 MB / 1.352 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.9133, allocations: 205.7 kB / 1.352 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.9134, allocations: 9.906 kB / 1.352 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.9139, allocations: 19.86 kB / 1.352 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.9139, allocations: 33 kB / 1.352 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.9139, allocations: 6.719 kB / 1.352 GB, free: 6.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000843/0.9148, allocations: 0.6269 MB / 1.352 GB, free: 5.766 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9148, allocations: 0 / 1.352 GB, free: 5.766 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008147/0.9156, allocations: 206.6 kB / 1.353 GB, free: 5.75 MB / 1.061 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.0001168/0.9157, allocations: 124.3 kB / 1.353 GB, free: 5.641 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.9168, allocations: 0.62 MB / 1.353 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9168, allocations: 1.156 kB / 1.353 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.9171, allocations: 258.3 kB / 1.354 GB, free: 5.227 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.918, allocations: 177 kB / 1.354 GB, free: 5.148 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.9201, allocations: 1.688 MB / 1.355 GB, free: 4.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.9205, allocations: 0.9875 MB / 1.356 GB, free: 3.402 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.9207, allocations: 52.66 kB / 1.356 GB, free: 3.395 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.9207, allocations: 0 / 1.356 GB, free: 3.395 MB / 1.061 GB Notification: Performance of Templates: time 0.01921/0.9399, allocations: 12.25 MB / 1.368 GB, free: 2.23 MB / 1.061 GB " [Timeout remaining time 299] 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.892052752999007]