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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001098/0.001098, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001159/0.00116, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.422/2.422, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.28 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2698, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004475/0.2743, allocations: 3.734 MB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.2779, allocations: 2.498 MB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.2782, allocations: 19.81 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.2788, allocations: 254.4 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.2797, allocations: 0.4899 MB / 1.034 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.2807, allocations: 0.5445 MB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.282, allocations: 1.367 MB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.2822, allocations: 157.1 kB / 1.036 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.2827, allocations: 434.5 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.2833, allocations: 478.2 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.2834, allocations: 52 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.2835, allocations: 56 kB / 1.037 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.2838, allocations: 355 kB / 1.037 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.2842, allocations: 465.5 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007171/0.2849, allocations: 0.9185 MB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2849, allocations: 0 / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.285, allocations: 0 / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.285, allocations: 0 / 1.038 GB, free: 6.258 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.002003/0.287, allocations: 1.241 MB / 1.039 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.287, allocations: 12.02 kB / 1.039 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2872, allocations: 103.7 kB / 1.04 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2882, allocations: 0.6636 MB / 1.04 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.2882, allocations: 41.03 kB / 1.04 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.2883, allocations: 56.38 kB / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.2889, allocations: 402.9 kB / 1.041 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2889, allocations: 3.984 kB / 1.041 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2889, allocations: 19.94 kB / 1.041 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2889, allocations: 8 kB / 1.041 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.2893, allocations: 222.4 kB / 1.041 GB, free: 3.375 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.00296/0.2923, allocations: 2.494 MB / 1.043 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.2935, allocations: 495.1 kB / 1.044 GB, free: 196 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2938, allocations: 150 kB / 1.044 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2938, allocations: 240 / 1.044 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.2938, allocations: 38.8 kB / 1.044 GB, free: 16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.514e-06/0.2939, allocations: 0 / 1.044 GB, free: 16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001907/0.2958, allocations: 1.207 MB / 1.045 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2958, allocations: 59.41 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2969, allocations: 0.9153 MB / 1.046 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.2969, allocations: 41.7 kB / 1.046 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.2972, allocations: 368.8 kB / 1.047 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.2973, allocations: 118.3 kB / 1.047 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.2975, allocations: 170.6 kB / 1.047 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2977, allocations: 394.8 kB / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2981, allocations: 225.8 kB / 1.047 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.2986, allocations: 0.6154 MB / 1.048 GB, free: 11.6 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.002792/0.3014, allocations: 1.771 MB / 1.05 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3015, allocations: 4 kB / 1.05 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001271/0.3027, allocations: 0.8997 MB / 1.051 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.3028, allocations: 12 kB / 1.051 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3028, allocations: 12 kB / 1.051 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.303, allocations: 52.83 kB / 1.051 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.3036, allocations: 207.9 kB / 1.051 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3048, allocations: 1.472 MB / 1.052 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.3054, allocations: 39.98 kB / 1.052 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3055, allocations: 43.98 kB / 1.052 GB, free: 6.707 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.0003116/0.3058, allocations: 300.1 kB / 1.053 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3059, allocations: 78.97 kB / 1.053 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.306, allocations: 84.53 kB / 1.053 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3061, allocations: 8 kB / 1.053 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3061, allocations: 0 / 1.053 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3061, allocations: 3.984 kB / 1.053 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.3076, allocations: 1.14 MB / 1.054 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3076, allocations: 0 / 1.054 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.308, allocations: 83.88 kB / 1.054 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.3081, allocations: 36.83 kB / 1.054 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.3081, allocations: 8 kB / 1.054 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009074/0.309, allocations: 1.425 MB / 1.055 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3091, allocations: 4.188 kB / 1.055 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.3099, allocations: 0.6549 MB / 1.056 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.3101, allocations: 208 kB / 1.056 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.761e-05/0.3102, allocations: 11.98 kB / 1.056 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3106, allocations: 19.97 kB / 1.056 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.3107, allocations: 19.97 kB / 1.056 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3107, allocations: 8 kB / 1.056 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007665/0.3115, allocations: 0.6161 MB / 1.057 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3115, allocations: 0 / 1.057 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006667/0.3122, allocations: 208 kB / 1.057 GB, free: 1.535 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.0001195/0.3123, allocations: 125.3 kB / 1.057 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.3133, allocations: 0.6382 MB / 1.058 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3133, allocations: 4 kB / 1.058 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.3137, allocations: 270.4 kB / 1.058 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.3145, allocations: 168.6 kB / 1.058 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3166, allocations: 1.609 MB / 1.06 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3171, allocations: 0.9837 MB / 1.061 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.3174, allocations: 157.8 kB / 1.061 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3176, allocations: 47.44 kB / 1.061 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3176, allocations: 0 / 1.061 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.01488/0.3325, allocations: 8.987 MB / 1.07 GB, free: 4.57 MB / 0.8419 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches