Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001282/0.001282, allocations: 192.2 kB / 16.26 MB, free: 6.625 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 482.4 MB / 0.7543 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 66.97 kB / 0.9233 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3064, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004605/0.311, allocations: 2.786 MB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004016/0.3151, allocations: 2.765 MB / 1.087 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.3153, allocations: 7.938 kB / 1.087 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3166, allocations: 466.3 kB / 1.088 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.3171, allocations: 247 kB / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.3179, allocations: 355.3 kB / 1.088 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.3196, allocations: 1.558 MB / 1.09 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.3198, allocations: 130.3 kB / 1.09 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.3205, allocations: 498.7 kB / 1.09 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.321, allocations: 442.5 kB / 1.091 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.3211, allocations: 48 kB / 1.091 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3212, allocations: 52 kB / 1.091 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.3215, allocations: 267.3 kB / 1.091 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.3219, allocations: 370.2 kB / 1.091 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.3227, allocations: 0.8996 MB / 1.092 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3227, allocations: 0 / 1.092 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3227, allocations: 0 / 1.092 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.3227, allocations: 8 kB / 1.092 GB, free: 2.723 MB / 0.8419 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.00201/0.3248, allocations: 1.148 MB / 1.093 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3248, allocations: 12.03 kB / 1.093 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.3249, allocations: 72.09 kB / 1.094 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.3259, allocations: 0.6525 MB / 1.094 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3259, allocations: 28.94 kB / 1.094 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.326, allocations: 40.38 kB / 1.094 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.3266, allocations: 374.9 kB / 1.095 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3266, allocations: 3.938 kB / 1.095 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3266, allocations: 12 kB / 1.095 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3266, allocations: 4 kB / 1.095 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.327, allocations: 233.5 kB / 1.095 GB, free: 48 kB / 0.8419 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.003655/0.3307, allocations: 2.466 MB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000994/0.3317, allocations: 394.5 kB / 1.098 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.3319, allocations: 140.7 kB / 1.098 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.332, allocations: 8 kB / 1.098 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.332, allocations: 34.5 kB / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.332, allocations: 0 / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009497/0.3329, allocations: 0.5352 MB / 1.098 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.333, allocations: 55.34 kB / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.3342, allocations: 0.9414 MB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3342, allocations: 37.7 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.3345, allocations: 296.5 kB / 1.1 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.3346, allocations: 74.94 kB / 1.1 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.3348, allocations: 122.2 kB / 1.1 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.335, allocations: 386.7 kB / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.3354, allocations: 236.9 kB / 1.1 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.3359, allocations: 0.4975 MB / 1.101 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.3368, allocations: 0.7013 MB / 1.102 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3369, allocations: 0 / 1.102 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001215/0.3381, allocations: 0.8139 MB / 1.102 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3381, allocations: 9.562 kB / 1.102 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3381, allocations: 8 kB / 1.102 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.3384, allocations: 60.75 kB / 1.102 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.3388, allocations: 139.8 kB / 1.103 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3402, allocations: 1.546 MB / 1.104 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.3409, allocations: 127.2 kB / 1.104 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.3409, allocations: 28 kB / 1.104 GB, free: 5.734 MB / 0.8575 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.0004193/0.3413, allocations: 337.5 kB / 1.105 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3414, allocations: 63.19 kB / 1.105 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.3416, allocations: 74 kB / 1.105 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3416, allocations: 0 / 1.105 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3416, allocations: 4 kB / 1.105 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3416, allocations: 0 / 1.105 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.3424, allocations: 0.583 MB / 1.105 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3424, allocations: 0 / 1.105 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3426, allocations: 47.89 kB / 1.105 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.3428, allocations: 40.83 kB / 1.105 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.3428, allocations: 15.98 kB / 1.105 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.3441, allocations: 1.519 MB / 1.107 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3441, allocations: 0 / 1.107 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.3449, allocations: 0.5655 MB / 1.107 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.3451, allocations: 200.4 kB / 1.108 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.3452, allocations: 8 kB / 1.108 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.3456, allocations: 51.8 kB / 1.108 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.3457, allocations: 15.92 kB / 1.108 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3457, allocations: 7.984 kB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008409/0.3466, allocations: 0.659 MB / 1.108 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3466, allocations: 3.938 kB / 1.108 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006241/0.3472, allocations: 187.8 kB / 1.108 GB, free: 1.125 MB / 0.8575 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.0001353/0.3473, allocations: 111.2 kB / 1.109 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009958/0.3483, allocations: 0.5941 MB / 1.109 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3484, allocations: 0 / 1.109 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.3487, allocations: 244 kB / 1.109 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.3496, allocations: 168.6 kB / 1.11 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3521, allocations: 1.717 MB / 1.111 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.3528, allocations: 1.006 MB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004269/0.3532, allocations: 180.5 kB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3534, allocations: 39.44 kB / 1.112 GB, free: 13 MB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/0.3534, allocations: 0 / 1.112 GB, free: 13 MB / 0.8731 GB Notification: Performance of Templates: time 0.0154/0.3688, allocations: 8.384 MB / 1.121 GB, free: 4.738 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches