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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001491/0.001491, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.7 MB / 0.7452 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 68.17 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.342, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006827/0.3489, allocations: 3.725 MB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005662/0.3546, allocations: 2.505 MB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.3557, allocations: 11.94 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3569, allocations: 254.3 kB / 1.075 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.3586, allocations: 0.4977 MB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.3601, allocations: 0.5293 MB / 1.076 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3619, allocations: 1.367 MB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.3622, allocations: 149.1 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.3627, allocations: 438.5 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.3634, allocations: 498.1 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.3635, allocations: 52 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.3636, allocations: 56 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.3639, allocations: 347 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.3644, allocations: 457.5 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008214/0.3652, allocations: 0.8991 MB / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3652, allocations: 4 kB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3652, allocations: 0 / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3652, allocations: 0 / 1.08 GB, free: 14.68 MB / 0.8419 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.002175/0.3674, allocations: 1.245 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3675, allocations: 12.03 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3677, allocations: 103.7 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3687, allocations: 0.6402 MB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.3687, allocations: 41.03 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/0.3688, allocations: 56.31 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.3694, allocations: 414.8 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3695, allocations: 3.938 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.3695, allocations: 16 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3695, allocations: 8 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.37, allocations: 222.4 kB / 1.082 GB, free: 11.81 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.00311/0.3731, allocations: 2.509 MB / 1.085 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.3745, allocations: 483.2 kB / 1.085 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3747, allocations: 157.2 kB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3748, allocations: 4.234 kB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3748, allocations: 34.8 kB / 1.085 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.3748, allocations: 4 kB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.00203/0.3768, allocations: 1.201 MB / 1.087 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.377, allocations: 59.34 kB / 1.087 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3782, allocations: 0.9193 MB / 1.088 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3782, allocations: 41.7 kB / 1.088 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.3785, allocations: 372.7 kB / 1.088 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3786, allocations: 106.4 kB / 1.088 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.3789, allocations: 170.6 kB / 1.088 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.3791, allocations: 398.7 kB / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.3797, allocations: 225.8 kB / 1.089 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.3803, allocations: 0.6192 MB / 1.089 GB, free: 4.023 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.003042/0.3834, allocations: 1.761 MB / 1.091 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.3834, allocations: 4 kB / 1.091 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00143/0.3849, allocations: 0.9149 MB / 1.092 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.3849, allocations: 12 kB / 1.092 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.3849, allocations: 12 kB / 1.092 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.3851, allocations: 45.22 kB / 1.092 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.3858, allocations: 219.6 kB / 1.092 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.387, allocations: 1.46 MB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.3877, allocations: 39.97 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3877, allocations: 44 kB / 1.094 GB, free: 15.14 MB / 0.8575 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.0003679/0.3881, allocations: 299.2 kB / 1.094 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3882, allocations: 86.81 kB / 1.094 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3884, allocations: 84.45 kB / 1.094 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3884, allocations: 4 kB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3884, allocations: 0 / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3884, allocations: 0 / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.39, allocations: 1.138 MB / 1.095 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3901, allocations: 0 / 1.095 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.3905, allocations: 87.81 kB / 1.095 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.3906, allocations: 36.97 kB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3906, allocations: 15.98 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.3917, allocations: 1.433 MB / 1.097 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3917, allocations: 0 / 1.097 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.3926, allocations: 0.6518 MB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.3929, allocations: 200 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.393, allocations: 8 kB / 1.098 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.3934, allocations: 15.98 kB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.3935, allocations: 27.97 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3935, allocations: 4 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008385/0.3944, allocations: 0.6239 MB / 1.098 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3944, allocations: 0 / 1.098 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007296/0.3951, allocations: 208 kB / 1.099 GB, free: 9.961 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.0001517/0.3953, allocations: 119.6 kB / 1.099 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.3965, allocations: 0.6801 MB / 1.099 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3965, allocations: 0 / 1.099 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.3969, allocations: 268.7 kB / 1.1 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.3978, allocations: 175.3 kB / 1.1 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.4001, allocations: 1.624 MB / 1.101 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.4007, allocations: 0.9915 MB / 1.102 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.4012, allocations: 153.8 kB / 1.103 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4013, allocations: 47.44 kB / 1.103 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.4013, allocations: 0 / 1.103 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.01614/0.4175, allocations: 8.989 MB / 1.111 GB, free: 12.94 MB / 0.8731 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches