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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001497/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001805/0.001805, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.59 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004741/0.347, allocations: 3.758 MB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3511, allocations: 2.542 MB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.3514, allocations: 11.94 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.3521, allocations: 222.8 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008383/0.353, allocations: 477.9 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.354, allocations: 470 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.3556, allocations: 1.613 MB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.3559, allocations: 128.8 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.3564, allocations: 394.4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.357, allocations: 0.4904 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.3571, allocations: 32 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.3572, allocations: 36 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.3576, allocations: 327 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.3579, allocations: 433.6 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.3586, allocations: 0.8795 MB / 1.064 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3587, allocations: 0 / 1.064 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3587, allocations: 0 / 1.064 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3587, allocations: 3.938 kB / 1.064 GB, free: 13.05 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.002185/0.3609, allocations: 1.245 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3609, allocations: 12.03 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3611, allocations: 99.72 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.362, allocations: 0.648 MB / 1.066 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.3621, allocations: 45.03 kB / 1.066 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.3621, allocations: 52.38 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.3627, allocations: 402.9 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3628, allocations: 4 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.3628, allocations: 12 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3628, allocations: 12 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3633, allocations: 226.4 kB / 1.066 GB, free: 10.18 MB / 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.002763/0.366, allocations: 2.502 MB / 1.069 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3673, allocations: 491.2 kB / 1.069 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.3676, allocations: 150 kB / 1.069 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3676, allocations: 240 / 1.069 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3677, allocations: 42.73 kB / 1.069 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3677, allocations: 0 / 1.069 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002253/0.3699, allocations: 1.209 MB / 1.071 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.37, allocations: 55.41 kB / 1.071 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3712, allocations: 0.9153 MB / 1.071 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.3712, allocations: 41.7 kB / 1.072 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.3715, allocations: 372.8 kB / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3717, allocations: 118.3 kB / 1.072 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3719, allocations: 166.7 kB / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3721, allocations: 394.8 kB / 1.073 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3725, allocations: 225.8 kB / 1.073 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.3731, allocations: 0.6192 MB / 1.073 GB, free: 2.398 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.002977/0.3761, allocations: 1.763 MB / 1.075 GB, free: 416 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3761, allocations: 4 kB / 1.075 GB, free: 412 kB / 0.8262 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001446/0.3776, allocations: 0.9036 MB / 1.076 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3776, allocations: 12 kB / 1.076 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.3776, allocations: 12 kB / 1.076 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.3778, allocations: 52.83 kB / 1.076 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.3785, allocations: 207.6 kB / 1.076 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.3797, allocations: 1.362 MB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.3805, allocations: 56.12 kB / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.3805, allocations: 36 kB / 1.078 GB, free: 13.62 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.0004117/0.3809, allocations: 298.9 kB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3811, allocations: 78.97 kB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3812, allocations: 80.52 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3812, allocations: 4 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3812, allocations: 3.938 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3812, allocations: 4 kB / 1.078 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.3829, allocations: 1.142 MB / 1.079 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3829, allocations: 7.922 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.3833, allocations: 88.06 kB / 1.079 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.3834, allocations: 28.84 kB / 1.079 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.3834, allocations: 11.98 kB / 1.079 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008938/0.3843, allocations: 1.327 MB / 1.081 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3844, allocations: 3.938 kB / 1.081 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.3852, allocations: 0.6557 MB / 1.081 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.3855, allocations: 196.1 kB / 1.081 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/0.3856, allocations: 11.98 kB / 1.081 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.386, allocations: 19.92 kB / 1.081 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3861, allocations: 31.91 kB / 1.082 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3861, allocations: 8 kB / 1.082 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007871/0.3869, allocations: 0.62 MB / 1.082 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3869, allocations: 0 / 1.082 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007591/0.3877, allocations: 204 kB / 1.082 GB, free: 8.551 MB / 0.8419 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.0001213/0.3878, allocations: 115.2 kB / 1.082 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.389, allocations: 0.6405 MB / 1.083 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.389, allocations: 1.688 kB / 1.083 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3893, allocations: 272 kB / 1.083 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.3902, allocations: 164.2 kB / 1.083 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.3926, allocations: 1.858 MB / 1.085 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.3931, allocations: 0.9801 MB / 1.086 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.3936, allocations: 157.8 kB / 1.086 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3937, allocations: 51.44 kB / 1.086 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3937, allocations: 0 / 1.086 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.01561/0.4093, allocations: 8.566 MB / 1.095 GB, free: 11.77 MB / 0.8575 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