Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001292/0.001292, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.8685 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6568, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004309/0.6611, allocations: 2.79 MB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.6653, allocations: 2.8 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.6656, allocations: 11.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.6671, allocations: 466.3 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.6677, allocations: 246.9 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.6686, allocations: 323.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.6708, allocations: 1.719 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.6711, allocations: 121.7 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.672, allocations: 410.8 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.6727, allocations: 406.5 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.6729, allocations: 28 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.6731, allocations: 24 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.6734, allocations: 231.3 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.674, allocations: 330.2 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.6749, allocations: 0.88 MB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.6749, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.675, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.015e-05/0.675, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002758/0.6777, allocations: 1.152 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6778, allocations: 8.031 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.678, allocations: 80 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6791, allocations: 0.6486 MB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.6792, allocations: 28.94 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.6793, allocations: 40.36 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.6799, allocations: 378.8 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6799, allocations: 4 kB / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.6799, allocations: 8 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.68, allocations: 8 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.6804, allocations: 229.5 kB / 1.03 GB, free: 5.391 MB / 0.7794 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.003602/0.684, allocations: 2.459 MB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.6849, allocations: 398.5 kB / 1.032 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.6852, allocations: 144.7 kB / 1.032 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.6852, allocations: 0 / 1.032 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6852, allocations: 38.55 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.103e-06/0.6852, allocations: 4 kB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009469/0.6862, allocations: 0.532 MB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6862, allocations: 59.41 kB / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.6875, allocations: 0.9337 MB / 1.034 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.6875, allocations: 37.64 kB / 1.034 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.6878, allocations: 308.4 kB / 1.034 GB, free: 236 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.6879, allocations: 63.11 kB / 1.034 GB, free: 172 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.688, allocations: 126.1 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.6882, allocations: 382.8 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.6886, allocations: 240.9 kB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.6891, allocations: 0.5013 MB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008632/0.69, allocations: 0.7001 MB / 1.036 GB, free: 13.96 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.69, allocations: 8 kB / 1.036 GB, free: 13.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001268/0.6913, allocations: 0.8077 MB / 1.037 GB, free: 13.13 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.6913, allocations: 12.16 kB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.6914, allocations: 15.94 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.6916, allocations: 44.83 kB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.692, allocations: 139.8 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6933, allocations: 1.447 MB / 1.039 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.694, allocations: 123.2 kB / 1.039 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.6941, allocations: 28 kB / 1.039 GB, free: 11.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0003975/0.6945, allocations: 342.1 kB / 1.039 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.6946, allocations: 63.16 kB / 1.039 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.6947, allocations: 73.98 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6948, allocations: 3.938 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6948, allocations: 4 kB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6948, allocations: 3.984 kB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.6955, allocations: 0.5751 MB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6955, allocations: 3.984 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.6958, allocations: 43.97 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/0.6959, allocations: 48.75 kB / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.696, allocations: 8 kB / 1.04 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.697, allocations: 1.413 MB / 1.041 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.697, allocations: 4.031 kB / 1.041 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.6978, allocations: 0.5672 MB / 1.042 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.6981, allocations: 200.3 kB / 1.042 GB, free: 7.621 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.6982, allocations: 7.984 kB / 1.042 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.6987, allocations: 51.83 kB / 1.042 GB, free: 7.562 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.6987, allocations: 11.98 kB / 1.042 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6988, allocations: 4 kB / 1.042 GB, free: 7.547 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001098/0.6999, allocations: 0.6668 MB / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6999, allocations: 0 / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008003/0.7007, allocations: 183.8 kB / 1.043 GB, free: 6.707 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0001793/0.7009, allocations: 111.2 kB / 1.043 GB, free: 6.586 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.702, allocations: 0.5618 MB / 1.044 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.702, allocations: 5.812 kB / 1.044 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.7024, allocations: 250.5 kB / 1.044 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.7034, allocations: 168.5 kB / 1.044 GB, free: 5.586 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.7059, allocations: 1.702 MB / 1.046 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.7066, allocations: 1.01 MB / 1.047 GB, free: 2.82 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000479/0.707, allocations: 184.5 kB / 1.047 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.7072, allocations: 43.42 kB / 1.047 GB, free: 2.602 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.7072, allocations: 3.938 kB / 1.047 GB, free: 2.598 MB / 0.795 GB Notification: Performance of Templates: time 0.01456/0.7218, allocations: 8.093 MB / 1.055 GB, free: 10.61 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches