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.006278/0.006278, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001386/0.001386, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 68.11 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3514, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006722/0.3582, allocations: 3.728 MB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.3632, allocations: 2.501 MB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/0.3639, allocations: 23.88 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008796/0.3647, allocations: 242.4 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.3663, allocations: 0.4977 MB / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3678, allocations: 0.5378 MB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.3698, allocations: 1.375 MB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.3701, allocations: 145.1 kB / 1.217 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00079/0.3709, allocations: 454.5 kB / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009812/0.3719, allocations: 478.3 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.3721, allocations: 52 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3723, allocations: 59.88 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004611/0.3728, allocations: 355 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00065/0.3735, allocations: 453.7 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3746, allocations: 0.9146 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3746, allocations: 0 / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3746, allocations: 0 / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.472e-05/0.3747, allocations: 0 / 1.219 GB, free: 13.84 MB / 0.9825 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.002887/0.3776, allocations: 1.253 MB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3776, allocations: 12.62 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.3779, allocations: 95.81 kB / 1.221 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.3791, allocations: 0.6675 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.3792, allocations: 41.03 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.3793, allocations: 56.38 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.3799, allocations: 406.9 kB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.38, allocations: 3.938 kB / 1.222 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.38, allocations: 16 kB / 1.222 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.38, allocations: 11.94 kB / 1.222 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.3804, allocations: 218.4 kB / 1.222 GB, free: 10.94 MB / 0.9825 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.003397/0.3838, allocations: 2.502 MB / 1.224 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3851, allocations: 495.1 kB / 1.225 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.3854, allocations: 153.2 kB / 1.225 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3854, allocations: 4.234 kB / 1.225 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3854, allocations: 38.8 kB / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.3854, allocations: 0 / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.002116/0.3876, allocations: 1.196 MB / 1.226 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3876, allocations: 55.41 kB / 1.226 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.3889, allocations: 0.9231 MB / 1.227 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.3889, allocations: 41.7 kB / 1.227 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.3892, allocations: 368.7 kB / 1.228 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.3893, allocations: 110.4 kB / 1.228 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.3896, allocations: 170.6 kB / 1.228 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.3899, allocations: 402.7 kB / 1.228 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3902, allocations: 221.8 kB / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.3909, allocations: 0.6192 MB / 1.229 GB, free: 3.156 MB / 0.9825 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.003091/0.394, allocations: 1.765 MB / 1.231 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.394, allocations: 8 kB / 1.231 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001494/0.3955, allocations: 0.9034 MB / 1.232 GB, free: 248 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3956, allocations: 17.12 kB / 1.232 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.3956, allocations: 12 kB / 1.232 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.3958, allocations: 48.78 kB / 1.232 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.3965, allocations: 215.6 kB / 1.232 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.3977, allocations: 1.46 MB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.3984, allocations: 40.12 kB / 1.233 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.3984, allocations: 48 kB / 1.233 GB, free: 14.27 MB / 0.9981 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.0003465/0.3988, allocations: 289.7 kB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.399, allocations: 82.88 kB / 1.234 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3991, allocations: 88.45 kB / 1.234 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3991, allocations: 0 / 1.234 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3991, allocations: 7.938 kB / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3991, allocations: 0 / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.4008, allocations: 1.131 MB / 1.235 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4008, allocations: 0 / 1.235 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.4012, allocations: 88 kB / 1.235 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.4013, allocations: 32.84 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.4014, allocations: 15.98 kB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.4024, allocations: 1.437 MB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.4024, allocations: 4.031 kB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.4033, allocations: 0.6599 MB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4036, allocations: 196.1 kB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.4037, allocations: 8 kB / 1.237 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.4041, allocations: 19.98 kB / 1.237 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4042, allocations: 23.97 kB / 1.237 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4042, allocations: 8 kB / 1.237 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008174/0.4051, allocations: 0.62 MB / 1.238 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4051, allocations: 0 / 1.238 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006981/0.4058, allocations: 208 kB / 1.238 GB, free: 9.094 MB / 0.9981 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.0001305/0.4059, allocations: 115.1 kB / 1.238 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.407, allocations: 0.6366 MB / 1.239 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.407, allocations: 5.625 kB / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.4074, allocations: 266.8 kB / 1.239 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.4082, allocations: 183.3 kB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.4105, allocations: 1.601 MB / 1.241 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.4111, allocations: 0.9799 MB / 1.242 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003873/0.4115, allocations: 161.8 kB / 1.242 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4117, allocations: 51.42 kB / 1.242 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.4117, allocations: 0 / 1.242 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of Templates: time 0.5974/1.009, allocations: 9.281 MB / 1.251 GB, free: 36.03 MB / 0.9981 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