Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.008811/0.008811, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001971/0.001971, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 61.84 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3195, allocations: 140.4 MB / 1.088 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004957/0.3245, allocations: 3.735 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.3288, allocations: 2.496 MB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.3294, allocations: 15.88 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009203/0.3304, allocations: 246.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.3318, allocations: 0.4938 MB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.3333, allocations: 0.5378 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3351, allocations: 1.378 MB / 1.097 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.3354, allocations: 161 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/0.3362, allocations: 434.6 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008957/0.3371, allocations: 478.1 kB / 1.098 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.3373, allocations: 52 kB / 1.098 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.3375, allocations: 56 kB / 1.098 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.338, allocations: 358.9 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006944/0.3387, allocations: 457.6 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.3397, allocations: 0.903 MB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3397, allocations: 0 / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3397, allocations: 0 / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.264e-05/0.3398, allocations: 7.938 kB / 1.099 GB, free: 5.754 MB / 0.8575 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.002498/0.3423, allocations: 1.249 MB / 1.101 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3423, allocations: 12.03 kB / 1.101 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.3426, allocations: 103.7 kB / 1.101 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.3438, allocations: 0.6675 MB / 1.101 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3439, allocations: 41.03 kB / 1.101 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.344, allocations: 60.38 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.3446, allocations: 398.9 kB / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3447, allocations: 0 / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.3447, allocations: 20 kB / 1.102 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3447, allocations: 8 kB / 1.102 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.3452, allocations: 218.4 kB / 1.102 GB, free: 2.867 MB / 0.8575 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.003412/0.3486, allocations: 2.498 MB / 1.104 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3499, allocations: 496.5 kB / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3502, allocations: 145.2 kB / 1.105 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3502, allocations: 4.234 kB / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3502, allocations: 42.73 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/0.3503, allocations: 4 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.00218/0.3524, allocations: 1.2 MB / 1.106 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3525, allocations: 59.41 kB / 1.106 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.3537, allocations: 0.9154 MB / 1.107 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3537, allocations: 41.7 kB / 1.107 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.354, allocations: 364.8 kB / 1.108 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3541, allocations: 114.3 kB / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3544, allocations: 170.6 kB / 1.108 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3546, allocations: 398.7 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.3549, allocations: 225.8 kB / 1.109 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.3555, allocations: 0.623 MB / 1.109 GB, free: 11.07 MB / 0.8731 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.002983/0.3585, allocations: 1.767 MB / 1.111 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3586, allocations: 4 kB / 1.111 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001433/0.36, allocations: 0.9032 MB / 1.112 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.36, allocations: 12 kB / 1.112 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3601, allocations: 12 kB / 1.112 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.3603, allocations: 53.33 kB / 1.112 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.3609, allocations: 211.6 kB / 1.112 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3622, allocations: 1.46 MB / 1.113 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.363, allocations: 39.98 kB / 1.113 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.3631, allocations: 44 kB / 1.114 GB, free: 6.191 MB / 0.8731 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.0004772/0.3635, allocations: 305.9 kB / 1.114 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3637, allocations: 78.97 kB / 1.114 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.3638, allocations: 84.47 kB / 1.114 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3638, allocations: 0 / 1.114 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3638, allocations: 4 kB / 1.114 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3639, allocations: 3.984 kB / 1.114 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.3657, allocations: 1.138 MB / 1.115 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3657, allocations: 0 / 1.115 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.3661, allocations: 79.94 kB / 1.115 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.3662, allocations: 36.83 kB / 1.115 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3662, allocations: 16.06 kB / 1.115 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3673, allocations: 1.425 MB / 1.117 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3673, allocations: 7.969 kB / 1.117 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008128/0.3681, allocations: 0.6515 MB / 1.117 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.3684, allocations: 200 kB / 1.117 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.3685, allocations: 12 kB / 1.117 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.3688, allocations: 19.97 kB / 1.117 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.3689, allocations: 19.92 kB / 1.117 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3689, allocations: 8 kB / 1.118 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007595/0.3697, allocations: 0.6239 MB / 1.118 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3697, allocations: 0 / 1.118 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007273/0.3704, allocations: 208 kB / 1.118 GB, free: 1.016 MB / 0.8731 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.0001675/0.3706, allocations: 111.1 kB / 1.118 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.3718, allocations: 0.6422 MB / 1.119 GB, free: 252 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3718, allocations: 4 kB / 1.119 GB, free: 248 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.3721, allocations: 275.6 kB / 1.119 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008195/0.373, allocations: 182.8 kB / 1.119 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3751, allocations: 1.601 MB / 1.121 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.3757, allocations: 0.9837 MB / 1.122 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003896/0.3761, allocations: 153.8 kB / 1.122 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3762, allocations: 51.44 kB / 1.122 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of SimCode: time 2.124e-06/0.3762, allocations: 0 / 1.122 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.015/0.3912, allocations: 8.98 MB / 1.131 GB, free: 4.059 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches