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.001427/0.001432, allocations: 100.1 kB / 15.88 MB, free: 8 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.001523/0.001523, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.17 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 157.4 MB / 1.053 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005253/0.3114, allocations: 3.75 MB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.316, allocations: 2.544 MB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006633/0.3167, allocations: 19.88 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000938/0.3177, allocations: 214.8 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.3191, allocations: 466 kB / 1.06 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.3205, allocations: 475.1 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3224, allocations: 1.613 MB / 1.062 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.3227, allocations: 128.8 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007867/0.3235, allocations: 382.5 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.3244, allocations: 0.502 MB / 1.063 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.3246, allocations: 32 kB / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.3249, allocations: 36 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004245/0.3253, allocations: 323 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006211/0.3259, allocations: 437.5 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.3266, allocations: 0.6859 MB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3266, allocations: 0 / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3266, allocations: 0 / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.586e-05/0.3266, allocations: 0 / 1.064 GB, free: 12.77 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.002571/0.3292, allocations: 1.249 MB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3293, allocations: 11.97 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3296, allocations: 103.7 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3308, allocations: 0.6402 MB / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3308, allocations: 45.03 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.3309, allocations: 68.23 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.3315, allocations: 398.9 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3316, allocations: 4 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.3316, allocations: 16 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3316, allocations: 11.98 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.332, allocations: 222.4 kB / 1.067 GB, free: 9.891 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.002929/0.335, allocations: 2.502 MB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3362, allocations: 483.2 kB / 1.07 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.3365, allocations: 153.2 kB / 1.07 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3365, allocations: 4.234 kB / 1.07 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3365, allocations: 38.8 kB / 1.07 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/0.3365, allocations: 4 kB / 1.07 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002036/0.3386, allocations: 1.201 MB / 1.071 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3386, allocations: 55.41 kB / 1.071 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3399, allocations: 0.927 MB / 1.072 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.34, allocations: 41.7 kB / 1.072 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.3403, allocations: 368.8 kB / 1.072 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3404, allocations: 110.3 kB / 1.072 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.3406, allocations: 166.7 kB / 1.073 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3408, allocations: 394.7 kB / 1.073 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3412, allocations: 225.8 kB / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.3418, allocations: 0.627 MB / 1.074 GB, free: 2.098 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.002826/0.3447, allocations: 1.758 MB / 1.076 GB, free: 116 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3447, allocations: 4 kB / 1.076 GB, free: 112 kB / 0.8262 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001375/0.3461, allocations: 0.9072 MB / 1.076 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3461, allocations: 12 kB / 1.076 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.3461, allocations: 15.94 kB / 1.076 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.3463, allocations: 49.34 kB / 1.076 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.347, allocations: 215.6 kB / 1.077 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3481, allocations: 1.362 MB / 1.078 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.3489, allocations: 43.97 kB / 1.078 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.349, allocations: 44 kB / 1.078 GB, free: 13.32 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.0004635/0.3494, allocations: 295.4 kB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.3496, allocations: 82.97 kB / 1.078 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.3498, allocations: 76.53 kB / 1.079 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3498, allocations: 4 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3498, allocations: 7.922 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3498, allocations: 0 / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3517, allocations: 1.142 MB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3517, allocations: 0 / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.3521, allocations: 87.88 kB / 1.08 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.3522, allocations: 32.83 kB / 1.08 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.3523, allocations: 8.125 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.3533, allocations: 1.327 MB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3533, allocations: 8.188 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.3542, allocations: 0.6597 MB / 1.082 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.3546, allocations: 200.1 kB / 1.082 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.3547, allocations: 12 kB / 1.082 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.3552, allocations: 27.91 kB / 1.082 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3552, allocations: 15.98 kB / 1.082 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3553, allocations: 8 kB / 1.082 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009347/0.3562, allocations: 0.6239 MB / 1.083 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.703e-06/0.3562, allocations: 4 kB / 1.083 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009247/0.3572, allocations: 211.9 kB / 1.083 GB, free: 8.242 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.0001469/0.3573, allocations: 104 kB / 1.083 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.3587, allocations: 0.6427 MB / 1.084 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3587, allocations: 8 kB / 1.084 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.3591, allocations: 267.3 kB / 1.084 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.3601, allocations: 168.7 kB / 1.084 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.363, allocations: 1.911 MB / 1.086 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.3637, allocations: 0.9801 MB / 1.087 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3639, allocations: 55.44 kB / 1.087 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3639, allocations: 0 / 1.087 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of Templates: time 0.01704/0.3809, allocations: 12.08 MB / 1.099 GB, free: 7.965 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches