Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0009116/0.0009117, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005738/0.005738, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.034/3.034, allocations: 470.6 MB / 0.7442 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 8.281 kB / 0.9122 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3453, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004288/0.3496, allocations: 3.374 MB / 1.073 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.3538, allocations: 2.506 MB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.3541, allocations: 11.88 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.3548, allocations: 222.8 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009486/0.3557, allocations: 462.5 kB / 1.076 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3568, allocations: 480.7 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.3586, allocations: 1.605 MB / 1.078 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3589, allocations: 128.8 kB / 1.078 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005728/0.3595, allocations: 378.5 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.3602, allocations: 494.1 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.3602, allocations: 28 kB / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3604, allocations: 32 kB / 1.079 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.3607, allocations: 319 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.3611, allocations: 455.3 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007989/0.362, allocations: 0.8559 MB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.362, allocations: 8 kB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.923e-06/0.362, allocations: 0 / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.362, allocations: 0 / 1.081 GB, free: 32 kB / 0.8262 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.002068/0.3641, allocations: 1.117 MB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3641, allocations: 8.031 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3643, allocations: 103.7 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.3653, allocations: 0.6403 MB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.3653, allocations: 41.03 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/0.3654, allocations: 68.27 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.3661, allocations: 406.8 kB / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3661, allocations: 0 / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3661, allocations: 16 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3662, allocations: 8 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.3666, allocations: 234.4 kB / 1.083 GB, free: 13.28 MB / 0.8419 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.3697, allocations: 2.51 MB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.371, allocations: 0.4951 MB / 1.086 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.3713, allocations: 150 kB / 1.087 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3714, allocations: 8.234 kB / 1.087 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3714, allocations: 38.8 kB / 1.087 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3714, allocations: 0 / 1.087 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002168/0.3736, allocations: 1.22 MB / 1.088 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3736, allocations: 55.41 kB / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3749, allocations: 0.9231 MB / 1.089 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.3749, allocations: 41.7 kB / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.3752, allocations: 368.8 kB / 1.089 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3754, allocations: 110.4 kB / 1.089 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3755, allocations: 93.66 kB / 1.089 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3757, allocations: 394.7 kB / 1.09 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.3761, allocations: 225.8 kB / 1.09 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.3768, allocations: 0.6271 MB / 1.091 GB, free: 5.52 MB / 0.8419 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.003136/0.38, allocations: 1.791 MB / 1.092 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.38, allocations: 4 kB / 1.092 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001503/0.3815, allocations: 0.9036 MB / 1.093 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3815, allocations: 13.56 kB / 1.093 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3816, allocations: 12 kB / 1.093 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.3818, allocations: 56.77 kB / 1.093 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.3824, allocations: 208 kB / 1.093 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3837, allocations: 1.369 MB / 1.095 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.3845, allocations: 43.97 kB / 1.095 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.3845, allocations: 44 kB / 1.095 GB, free: 0.707 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0004029/0.3849, allocations: 295.2 kB / 1.095 GB, free: 420 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3851, allocations: 78.97 kB / 1.095 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.3852, allocations: 80.59 kB / 1.095 GB, free: 260 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3852, allocations: 7.984 kB / 1.095 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3853, allocations: 3.938 kB / 1.095 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3853, allocations: 0 / 1.095 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.387, allocations: 1.142 MB / 1.096 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.387, allocations: 7.938 kB / 1.096 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.3875, allocations: 83.88 kB / 1.096 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.3876, allocations: 36.95 kB / 1.097 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3876, allocations: 8 kB / 1.097 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.3887, allocations: 1.335 MB / 1.098 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3887, allocations: 4.031 kB / 1.098 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.3897, allocations: 0.6637 MB / 1.098 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.39, allocations: 200.1 kB / 1.099 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/0.3901, allocations: 8 kB / 1.099 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.3905, allocations: 31.84 kB / 1.099 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.3906, allocations: 19.97 kB / 1.099 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3906, allocations: 12 kB / 1.099 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008743/0.3915, allocations: 0.62 MB / 1.099 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3915, allocations: 0 / 1.099 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007296/0.3922, allocations: 204 kB / 1.1 GB, free: 11.62 MB / 0.8575 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.0001469/0.3924, allocations: 115.2 kB / 1.1 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.3935, allocations: 0.6529 MB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3935, allocations: 0 / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.3939, allocations: 278 kB / 1.101 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.3949, allocations: 164.8 kB / 1.101 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.3977, allocations: 1.974 MB / 1.103 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.3983, allocations: 0.9801 MB / 1.104 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004319/0.3988, allocations: 157.8 kB / 1.104 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3989, allocations: 47.44 kB / 1.104 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3989, allocations: 0 / 1.104 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of Templates: time 0.01702/0.416, allocations: 8.477 MB / 1.112 GB, free: 14.79 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches