Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001368/0.001368, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001384/0.001384, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 69.48 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2739, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00506/0.279, allocations: 3.733 MB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00404/0.2831, allocations: 2.494 MB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.2836, allocations: 15.88 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007717/0.2844, allocations: 250.4 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2855, allocations: 0.4938 MB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2868, allocations: 0.5306 MB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.2883, allocations: 1.371 MB / 1.027 GB, free: 1.734 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.2886, allocations: 145.1 kB / 1.027 GB, free: 1.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.2892, allocations: 434.6 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.29, allocations: 494.1 kB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.2902, allocations: 56 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2904, allocations: 60 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.2908, allocations: 347 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.2913, allocations: 457.6 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.2922, allocations: 0.8991 MB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2922, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2922, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.455e-05/0.2923, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 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.002588/0.2949, allocations: 1.249 MB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2949, allocations: 20.81 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.2952, allocations: 103.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.2963, allocations: 0.648 MB / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.2964, allocations: 41.03 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.198e-05/0.2965, allocations: 52.38 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.297, allocations: 402.9 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2971, allocations: 7.938 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.2971, allocations: 16 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2971, allocations: 12 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.2975, allocations: 226.4 kB / 1.032 GB, free: 11.98 MB / 0.8106 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.003111/0.3007, allocations: 2.49 MB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3019, allocations: 498 kB / 1.035 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3022, allocations: 149.2 kB / 1.035 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3022, allocations: 4.234 kB / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3022, allocations: 38.8 kB / 1.035 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.3022, allocations: 0 / 1.035 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.002103/0.3043, allocations: 1.221 MB / 1.036 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3044, allocations: 55.41 kB / 1.036 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3056, allocations: 0.9192 MB / 1.037 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3056, allocations: 41.7 kB / 1.037 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.3059, allocations: 364.8 kB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.306, allocations: 122.3 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3062, allocations: 162.7 kB / 1.038 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3064, allocations: 390.8 kB / 1.038 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.3068, allocations: 229.8 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.3075, allocations: 0.6192 MB / 1.039 GB, free: 4.195 MB / 0.8106 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.003049/0.3105, allocations: 1.768 MB / 1.041 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3105, allocations: 4 kB / 1.041 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001456/0.312, allocations: 0.9037 MB / 1.042 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.312, allocations: 8 kB / 1.042 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.3121, allocations: 20.09 kB / 1.042 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.3122, allocations: 48.83 kB / 1.042 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.3129, allocations: 211.6 kB / 1.042 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3141, allocations: 1.46 MB / 1.043 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.3148, allocations: 40.14 kB / 1.044 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.3149, allocations: 44 kB / 1.044 GB, free: 15.32 MB / 0.8262 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.000341/0.3153, allocations: 300 kB / 1.044 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3154, allocations: 86.95 kB / 1.044 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.3155, allocations: 84.34 kB / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3156, allocations: 4 kB / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3156, allocations: 0 / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3156, allocations: 7.984 kB / 1.044 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.3172, allocations: 1.133 MB / 1.045 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3172, allocations: 0 / 1.045 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.3176, allocations: 92 kB / 1.045 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.3177, allocations: 28.83 kB / 1.045 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3177, allocations: 12 kB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.3188, allocations: 1.429 MB / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3188, allocations: 160 / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.3197, allocations: 0.6701 MB / 1.047 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3199, allocations: 196.1 kB / 1.047 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.32, allocations: 8 kB / 1.048 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.3205, allocations: 19.97 kB / 1.048 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.3206, allocations: 27.91 kB / 1.048 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3206, allocations: 4 kB / 1.048 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008142/0.3214, allocations: 0.6239 MB / 1.048 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3214, allocations: 0 / 1.048 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007197/0.3221, allocations: 204 kB / 1.048 GB, free: 10.14 MB / 0.8262 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.0001488/0.3223, allocations: 128.5 kB / 1.048 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.3235, allocations: 0.6657 MB / 1.049 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3235, allocations: 3.938 kB / 1.049 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.3239, allocations: 270.4 kB / 1.049 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.3248, allocations: 171.5 kB / 1.05 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.3272, allocations: 1.681 MB / 1.051 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.3278, allocations: 0.9837 MB / 1.052 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3279, allocations: 51.44 kB / 1.052 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3279, allocations: 4 kB / 1.052 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.0163/0.3442, allocations: 12.08 MB / 1.064 GB, free: 10.04 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches