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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008593/0.008593, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001838/0.001838, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.652/2.652, allocations: 472.6 MB / 0.7453 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8616, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004924/0.8666, allocations: 3.727 MB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004777/0.8714, allocations: 2.512 MB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.8719, allocations: 19.88 kB / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.8727, allocations: 246 kB / 1.232 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.8737, allocations: 0.4899 MB / 1.232 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.8752, allocations: 0.5378 MB / 1.233 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.8767, allocations: 1.375 MB / 1.234 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.877, allocations: 149.1 kB / 1.234 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.8776, allocations: 434.6 kB / 1.235 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.8782, allocations: 478.1 kB / 1.235 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.8783, allocations: 52 kB / 1.235 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.8784, allocations: 60 kB / 1.235 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.8788, allocations: 355 kB / 1.236 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.8792, allocations: 457.7 kB / 1.236 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.8801, allocations: 0.9111 MB / 1.237 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.8801, allocations: 0 / 1.237 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8801, allocations: 3.938 kB / 1.237 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.8801, allocations: 4 kB / 1.237 GB, free: 1.703 MB / 0.9512 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.002103/0.8822, allocations: 1.28 MB / 1.238 GB, free: 376 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8823, allocations: 8.031 kB / 1.238 GB, free: 368 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.8824, allocations: 108.3 kB / 1.238 GB, free: 260 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.8834, allocations: 0.6722 MB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.8834, allocations: 41.03 kB / 1.239 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.8835, allocations: 60.38 kB / 1.239 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.8841, allocations: 402.9 kB / 1.24 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8841, allocations: 0 / 1.24 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.8842, allocations: 16 kB / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.8842, allocations: 8 kB / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.8846, allocations: 226.4 kB / 1.24 GB, free: 14.77 MB / 0.9669 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.003019/0.8876, allocations: 2.502 MB / 1.242 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.8889, allocations: 491.1 kB / 1.243 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.8892, allocations: 153.2 kB / 1.243 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.8892, allocations: 4.234 kB / 1.243 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.8892, allocations: 34.73 kB / 1.243 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.8892, allocations: 4 kB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.00194/0.8912, allocations: 1.222 MB / 1.244 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.8912, allocations: 55.41 kB / 1.244 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.8924, allocations: 0.9271 MB / 1.245 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.8924, allocations: 37.7 kB / 1.245 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.8927, allocations: 369.2 kB / 1.245 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.8928, allocations: 119 kB / 1.246 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.893, allocations: 166.6 kB / 1.246 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8932, allocations: 394.7 kB / 1.246 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.8936, allocations: 229.8 kB / 1.246 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.8942, allocations: 0.6192 MB / 1.247 GB, free: 6.961 MB / 0.9669 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.00285/0.8971, allocations: 1.758 MB / 1.249 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.8971, allocations: 4 kB / 1.249 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001404/0.8985, allocations: 0.9158 MB / 1.25 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.8985, allocations: 13.72 kB / 1.25 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.8986, allocations: 16 kB / 1.25 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.8988, allocations: 53.33 kB / 1.25 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.8994, allocations: 207.6 kB / 1.25 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.9006, allocations: 1.468 MB / 1.251 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.9013, allocations: 43.98 kB / 1.251 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.9013, allocations: 40 kB / 1.251 GB, free: 2.062 MB / 0.9669 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.00035/0.9017, allocations: 309.3 kB / 1.252 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9018, allocations: 87.44 kB / 1.252 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.9019, allocations: 76.47 kB / 1.252 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.902, allocations: 4 kB / 1.252 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.902, allocations: 0 / 1.252 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.902, allocations: 3.984 kB / 1.252 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.9035, allocations: 1.14 MB / 1.253 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.9036, allocations: 4 kB / 1.253 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.9039, allocations: 79.94 kB / 1.253 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.9041, allocations: 36.89 kB / 1.253 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.9041, allocations: 12 kB / 1.253 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.9051, allocations: 1.429 MB / 1.254 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9051, allocations: 3.938 kB / 1.254 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.906, allocations: 0.6591 MB / 1.255 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.9063, allocations: 208.5 kB / 1.255 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.9064, allocations: 8 kB / 1.255 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.9068, allocations: 19.97 kB / 1.255 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.9069, allocations: 15.98 kB / 1.255 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.9069, allocations: 11.98 kB / 1.255 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009067/0.9078, allocations: 0.6239 MB / 1.256 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9078, allocations: 0 / 1.256 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008313/0.9087, allocations: 208 kB / 1.256 GB, free: 12.88 MB / 0.9825 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.0001788/0.9089, allocations: 119 kB / 1.256 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.91, allocations: 0.6461 MB / 1.257 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9101, allocations: 0 / 1.257 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.9104, allocations: 275.3 kB / 1.257 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.9113, allocations: 171.1 kB / 1.257 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.9136, allocations: 1.627 MB / 1.259 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.9141, allocations: 0.9876 MB / 1.26 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003576/0.9145, allocations: 153.8 kB / 1.26 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.9147, allocations: 59.31 kB / 1.26 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9147, allocations: 0 / 1.26 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.01582/0.9305, allocations: 9.096 MB / 1.269 GB, free: 15.76 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