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.001334/0.001334, allocations: 111.3 kB / 16.41 MB, free: 6.461 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.0014/0.0014, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.618/2.618, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 63.89 kB / 1.07 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6811, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004663/0.6858, allocations: 3.727 MB / 1.23 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.6898, allocations: 2.505 MB / 1.232 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.6903, allocations: 11.94 kB / 1.232 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008082/0.6911, allocations: 255 kB / 1.233 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.6923, allocations: 0.4899 MB / 1.233 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.6936, allocations: 0.5444 MB / 1.234 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.6952, allocations: 1.379 MB / 1.235 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.6955, allocations: 137.1 kB / 1.235 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007428/0.6963, allocations: 462.5 kB / 1.236 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/0.697, allocations: 478.1 kB / 1.236 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.6972, allocations: 52 kB / 1.236 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.6974, allocations: 56 kB / 1.236 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.6978, allocations: 351 kB / 1.236 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.6984, allocations: 461.6 kB / 1.237 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.6993, allocations: 0.914 MB / 1.238 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6993, allocations: 0 / 1.238 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6993, allocations: 0 / 1.238 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.6994, allocations: 7.938 kB / 1.238 GB, free: 1.715 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.002375/0.7018, allocations: 1.284 MB / 1.239 GB, free: 384 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7018, allocations: 8.031 kB / 1.239 GB, free: 376 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.702, allocations: 104.3 kB / 1.239 GB, free: 272 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.7031, allocations: 0.6683 MB / 1.24 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.7032, allocations: 37.03 kB / 1.24 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.7033, allocations: 64.38 kB / 1.24 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.7039, allocations: 406.9 kB / 1.24 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7039, allocations: 0 / 1.24 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.7039, allocations: 16 kB / 1.24 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7039, allocations: 8 kB / 1.24 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.7044, allocations: 222.4 kB / 1.241 GB, free: 14.79 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.003162/0.7076, allocations: 2.502 MB / 1.243 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.7089, allocations: 483.2 kB / 1.243 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.7091, allocations: 157.2 kB / 1.244 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.7092, allocations: 4.234 kB / 1.244 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.7092, allocations: 38.8 kB / 1.244 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.7092, allocations: 4 kB / 1.244 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.002047/0.7112, allocations: 1.218 MB / 1.245 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.7113, allocations: 55.41 kB / 1.245 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.7124, allocations: 0.9271 MB / 1.246 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.7125, allocations: 41.7 kB / 1.246 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.7127, allocations: 365.2 kB / 1.246 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.7129, allocations: 119 kB / 1.246 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.7131, allocations: 170.6 kB / 1.246 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7132, allocations: 390.7 kB / 1.247 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.7136, allocations: 229.8 kB / 1.247 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.7142, allocations: 0.6231 MB / 1.248 GB, free: 6.977 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.002877/0.7171, allocations: 1.754 MB / 1.249 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.7171, allocations: 8 kB / 1.249 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001384/0.7185, allocations: 0.9197 MB / 1.25 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7185, allocations: 13.09 kB / 1.25 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.7185, allocations: 12 kB / 1.25 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.7187, allocations: 49.25 kB / 1.25 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.7194, allocations: 219.6 kB / 1.251 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.7205, allocations: 1.46 MB / 1.252 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.7212, allocations: 39.97 kB / 1.252 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.7213, allocations: 44 kB / 1.252 GB, free: 2.078 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.0003423/0.7216, allocations: 309.3 kB / 1.252 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.7218, allocations: 83.44 kB / 1.252 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.7219, allocations: 80.45 kB / 1.253 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7219, allocations: 4 kB / 1.253 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7219, allocations: 0 / 1.253 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.7222, allocations: 204.5 kB / 1.253 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.7223, allocations: 11.98 kB / 1.253 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.7227, allocations: 19.97 kB / 1.253 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.7228, allocations: 11.98 kB / 1.253 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001172/0.724, allocations: 0.5404 MB / 1.253 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008555/0.7248, allocations: 0.7406 MB / 1.254 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002268/0.7251, allocations: 147.9 kB / 1.254 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007819/0.7259, allocations: 0.62 MB / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of Backend: time 3.71e-07/0.7259, allocations: 0 / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.7272, allocations: 0.6133 MB / 1.255 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002611/0.7298, allocations: 2.177 MB / 1.257 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.01611/0.7459, allocations: 9.511 MB / 1.267 GB, free: 2.992 MB / 0.9825 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