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.001674/0.001674, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00213/0.00213, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.566 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 2.858/2.858, allocations: 469.8 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 66.81 kB / 0.908 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3326, allocations: 159.2 MB / 1.063 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00676/0.3394, allocations: 3.749 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.344, allocations: 2.505 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.3446, allocations: 11.94 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009627/0.3457, allocations: 226.8 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.347, allocations: 458 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3487, allocations: 496.3 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.3507, allocations: 1.371 MB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3511, allocations: 149.1 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.3521, allocations: 450.4 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009343/0.3531, allocations: 0.5021 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3532, allocations: 59.94 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3533, allocations: 56 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.3537, allocations: 351 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.3542, allocations: 453.6 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009637/0.3552, allocations: 0.9029 MB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3552, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3552, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.3552, allocations: 0 / 1.075 GB, free: 2.953 MB / 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.002352/0.3576, allocations: 1.253 MB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3576, allocations: 12.03 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3578, allocations: 103.7 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.3588, allocations: 0.6441 MB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.3588, allocations: 37.03 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.3589, allocations: 56.38 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.3596, allocations: 406.8 kB / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3596, allocations: 4 kB / 1.077 GB, free: 328 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.3597, allocations: 12 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3597, allocations: 11.94 kB / 1.077 GB, free: 304 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.3601, allocations: 222.4 kB / 1.078 GB, free: 84 kB / 0.8262 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.003159/0.3633, allocations: 2.509 MB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.3646, allocations: 477.5 kB / 1.08 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.3649, allocations: 165.9 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3649, allocations: 4.234 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.365, allocations: 30.8 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.175e-06/0.365, allocations: 0 / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002247/0.3672, allocations: 1.204 MB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.3673, allocations: 59.39 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.3685, allocations: 0.9154 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.3686, allocations: 41.7 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.369, allocations: 368.7 kB / 1.083 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3691, allocations: 110.4 kB / 1.083 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.3693, allocations: 166.6 kB / 1.083 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3696, allocations: 402.7 kB / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.37, allocations: 225.8 kB / 1.084 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/0.3707, allocations: 0.6271 MB / 1.085 GB, free: 8.285 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.003144/0.3739, allocations: 1.768 MB / 1.086 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.3739, allocations: 4 kB / 1.086 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001529/0.3754, allocations: 0.8997 MB / 1.087 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.3755, allocations: 12 kB / 1.087 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3755, allocations: 16 kB / 1.087 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.3757, allocations: 48.83 kB / 1.087 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.3764, allocations: 207.9 kB / 1.088 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.3777, allocations: 1.465 MB / 1.089 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.3784, allocations: 51.97 kB / 1.089 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.3785, allocations: 39.98 kB / 1.089 GB, free: 3.402 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 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.0003966/0.3789, allocations: 307.9 kB / 1.089 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.379, allocations: 86.81 kB / 1.089 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.3791, allocations: 80.47 kB / 1.089 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3792, allocations: 4 kB / 1.089 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3792, allocations: 0 / 1.089 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3792, allocations: 3.984 kB / 1.089 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3809, allocations: 1.134 MB / 1.091 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3809, allocations: 0 / 1.091 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.3813, allocations: 83.94 kB / 1.091 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.3815, allocations: 40.89 kB / 1.091 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.3815, allocations: 8 kB / 1.091 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3827, allocations: 1.441 MB / 1.092 GB, free: 0 / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3827, allocations: 4.078 kB / 1.092 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.3837, allocations: 0.652 MB / 1.093 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.3841, allocations: 200 kB / 1.093 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.3842, allocations: 8 kB / 1.093 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.3846, allocations: 23.97 kB / 1.093 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.3847, allocations: 27.95 kB / 1.093 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3847, allocations: 8 kB / 1.093 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008779/0.3856, allocations: 0.6161 MB / 1.094 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3856, allocations: 4 kB / 1.094 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007942/0.3864, allocations: 204 kB / 1.094 GB, free: 14.21 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.0001728/0.3866, allocations: 121 kB / 1.094 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.3879, allocations: 0.6817 MB / 1.095 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.3879, allocations: 0 / 1.095 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.3883, allocations: 262.8 kB / 1.095 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.3891, allocations: 168.4 kB / 1.095 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.3917, allocations: 1.864 MB / 1.097 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.3924, allocations: 0.9799 MB / 1.098 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004495/0.3928, allocations: 157.8 kB / 1.098 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.393, allocations: 47.44 kB / 1.098 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.393, allocations: 0 / 1.098 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of Templates: time 0.02034/0.4133, allocations: 8.967 MB / 1.107 GB, free: 0.9883 MB / 0.8575 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