Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 103.5 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 195.7 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 442.5 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 64.22 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005604/0.3624, allocations: 3.734 MB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.3669, allocations: 2.502 MB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.3673, allocations: 15.88 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008081/0.3682, allocations: 250.4 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.3693, allocations: 0.4937 MB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3707, allocations: 0.5376 MB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3723, allocations: 1.371 MB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.3726, allocations: 157.1 kB / 1.036 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.3732, allocations: 434.5 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006453/0.3738, allocations: 478.1 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.3739, allocations: 55.94 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.374, allocations: 56 kB / 1.037 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.3744, allocations: 355 kB / 1.037 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.3749, allocations: 465.5 kB / 1.037 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008671/0.3757, allocations: 0.9108 MB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3758, allocations: 0 / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3758, allocations: 0 / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.3758, allocations: 0 / 1.038 GB, free: 6.258 MB / 0.8106 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.002152/0.3779, allocations: 1.249 MB / 1.039 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.378, allocations: 8.031 kB / 1.039 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3782, allocations: 103.7 kB / 1.04 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.3792, allocations: 0.6636 MB / 1.04 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.3792, allocations: 45.03 kB / 1.04 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.3793, allocations: 56.38 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.3799, allocations: 402.9 kB / 1.041 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.38, allocations: 3.938 kB / 1.041 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.38, allocations: 16 kB / 1.041 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.38, allocations: 8 kB / 1.041 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.3804, allocations: 226.4 kB / 1.041 GB, free: 3.367 MB / 0.8106 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.00312/0.3836, allocations: 2.49 MB / 1.043 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3848, allocations: 496.4 kB / 1.044 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.3851, allocations: 150 kB / 1.044 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3851, allocations: 4.234 kB / 1.044 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.3852, allocations: 38.84 kB / 1.044 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.3852, allocations: 0 / 1.044 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002097/0.3873, allocations: 1.211 MB / 1.045 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.3874, allocations: 55.41 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3885, allocations: 0.9192 MB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.3885, allocations: 37.7 kB / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.3888, allocations: 368.8 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3889, allocations: 118.3 kB / 1.047 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.3891, allocations: 162.7 kB / 1.047 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3893, allocations: 398.8 kB / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.3897, allocations: 229.8 kB / 1.047 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.3903, allocations: 0.6154 MB / 1.048 GB, free: 11.59 MB / 0.8262 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.00286/0.3932, allocations: 1.771 MB / 1.05 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3932, allocations: 4 kB / 1.05 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001352/0.3946, allocations: 0.896 MB / 1.051 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3946, allocations: 12 kB / 1.051 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3946, allocations: 15.94 kB / 1.051 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.3948, allocations: 56.8 kB / 1.051 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.3955, allocations: 207.7 kB / 1.051 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3967, allocations: 1.46 MB / 1.052 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/0.3974, allocations: 35.98 kB / 1.052 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.3975, allocations: 44 kB / 1.052 GB, free: 6.711 MB / 0.8262 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.0003814/0.3978, allocations: 305.4 kB / 1.053 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.398, allocations: 82.97 kB / 1.053 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.3981, allocations: 80.47 kB / 1.053 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3981, allocations: 0 / 1.053 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3981, allocations: 4 kB / 1.053 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3981, allocations: 3.984 kB / 1.053 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3998, allocations: 1.14 MB / 1.054 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3999, allocations: 0 / 1.054 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.4003, allocations: 87.88 kB / 1.054 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.4004, allocations: 36.95 kB / 1.054 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.4004, allocations: 8 kB / 1.054 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000986/0.4014, allocations: 1.425 MB / 1.055 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4014, allocations: 4.031 kB / 1.055 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.4022, allocations: 0.6589 MB / 1.056 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.4025, allocations: 192.1 kB / 1.056 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.4026, allocations: 12 kB / 1.056 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.403, allocations: 19.97 kB / 1.056 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4031, allocations: 23.97 kB / 1.056 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.4031, allocations: 8 kB / 1.056 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007926/0.4039, allocations: 0.62 MB / 1.057 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4039, allocations: 0 / 1.057 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007526/0.4047, allocations: 204 kB / 1.057 GB, free: 1.539 MB / 0.8262 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.000134/0.4048, allocations: 123.8 kB / 1.057 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.4059, allocations: 0.6448 MB / 1.058 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4059, allocations: 7.938 kB / 1.058 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.4063, allocations: 267.6 kB / 1.058 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.4071, allocations: 184.5 kB / 1.058 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.4094, allocations: 1.605 MB / 1.06 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.4099, allocations: 0.9837 MB / 1.061 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003915/0.4103, allocations: 153.9 kB / 1.061 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.4105, allocations: 47.44 kB / 1.061 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of SimCode: time 1.643e-06/0.4105, allocations: 0 / 1.061 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.01724/0.4277, allocations: 8.984 MB / 1.07 GB, free: 4.559 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches