Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6646 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7424, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003804/0.7463, allocations: 2.744 MB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.7501, allocations: 2.788 MB / 0.955 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.7505, allocations: 8.25 kB / 0.955 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.7521, allocations: 494 kB / 0.9554 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.7528, allocations: 258.2 kB / 0.9557 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.7538, allocations: 396.3 kB / 0.9561 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.7551, allocations: 1.528 MB / 0.9576 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.7554, allocations: 134.9 kB / 0.9577 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.7561, allocations: 474.1 kB / 0.9581 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.7567, allocations: 413.4 kB / 0.9585 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.7568, allocations: 49.31 kB / 0.9586 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.757, allocations: 52.97 kB / 0.9586 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.7572, allocations: 261.3 kB / 0.9589 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.7576, allocations: 372.5 kB / 0.9592 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.7583, allocations: 0.9031 MB / 0.9601 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7583, allocations: 0 / 0.9601 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7583, allocations: 0 / 0.9601 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.7584, allocations: 5.25 kB / 0.9601 GB, free: 1.688 MB / 0.7169 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.001984/0.7603, allocations: 1.155 MB / 0.9613 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7604, allocations: 13 kB / 0.9613 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.7605, allocations: 77.88 kB / 0.9613 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.7614, allocations: 0.6391 MB / 0.962 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.7615, allocations: 27.38 kB / 0.962 GB, free: 280 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.7616, allocations: 41.69 kB / 0.962 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.7622, allocations: 380.4 kB / 0.9624 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.7622, allocations: 0 / 0.9624 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.7623, allocations: 10.7 kB / 0.9624 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.7623, allocations: 5.5 kB / 0.9624 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.7628, allocations: 232.2 kB / 0.9626 GB, free: 15.88 MB / 0.7325 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.004427/0.7672, allocations: 2.46 MB / 0.965 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.7684, allocations: 394.8 kB / 0.9654 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.7687, allocations: 141.8 kB / 0.9655 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.7688, allocations: 6.141 kB / 0.9656 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.7688, allocations: 35.75 kB / 0.9656 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.255e-06/0.7688, allocations: 0 / 0.9656 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001303/0.7701, allocations: 0.5315 MB / 0.9661 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.7702, allocations: 56.81 kB / 0.9662 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.7719, allocations: 0.9384 MB / 0.9671 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.772, allocations: 36.05 kB / 0.9671 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.7723, allocations: 299.4 kB / 0.9674 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.7725, allocations: 73.58 kB / 0.9675 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.7728, allocations: 122.6 kB / 0.9676 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.7731, allocations: 383.8 kB / 0.9679 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.7736, allocations: 240.9 kB / 0.9682 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008889/0.7745, allocations: 0.5039 MB / 0.9687 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.7755, allocations: 0.6972 MB / 0.9694 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.7755, allocations: 2.562 kB / 0.9694 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00143/0.777, allocations: 0.8129 MB / 0.9701 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.777, allocations: 8.844 kB / 0.9702 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.777, allocations: 9.406 kB / 0.9702 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.7773, allocations: 52.12 kB / 0.9702 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.7778, allocations: 139.3 kB / 0.9703 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7792, allocations: 1.546 MB / 0.9719 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.78, allocations: 125.5 kB / 0.972 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.7801, allocations: 27.62 kB / 0.972 GB, free: 8.496 MB / 0.7325 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.000459/0.7805, allocations: 340.9 kB / 0.9723 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.7806, allocations: 66.06 kB / 0.9724 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.7808, allocations: 76.12 kB / 0.9725 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7808, allocations: 5.219 kB / 0.9725 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7808, allocations: 5.016 kB / 0.9725 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7808, allocations: 0 / 0.9725 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.7815, allocations: 0.5717 MB / 0.973 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7815, allocations: 0 / 0.973 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.7818, allocations: 47.59 kB / 0.9731 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.7819, allocations: 47.88 kB / 0.9731 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.7819, allocations: 11.53 kB / 0.9731 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.7831, allocations: 1.521 MB / 0.9746 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7831, allocations: 0 / 0.9746 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.7839, allocations: 0.5663 MB / 0.9752 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.7842, allocations: 205.5 kB / 0.9754 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.7843, allocations: 15.89 kB / 0.9754 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.7847, allocations: 45.02 kB / 0.9754 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.7847, allocations: 14.52 kB / 0.9754 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7847, allocations: 3.219 kB / 0.9754 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008594/0.7856, allocations: 0.6591 MB / 0.9761 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7856, allocations: 0 / 0.9761 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00069/0.7863, allocations: 183.6 kB / 0.9763 GB, free: 5.156 MB / 0.7325 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.0001356/0.7864, allocations: 114.8 kB / 0.9764 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.7874, allocations: 0.6051 MB / 0.977 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7874, allocations: 0 / 0.977 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.7877, allocations: 250.5 kB / 0.9772 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.7886, allocations: 171.4 kB / 0.9774 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.7907, allocations: 1.535 MB / 0.9789 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.7914, allocations: 1.01 MB / 0.9799 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.7919, allocations: 180.5 kB / 0.98 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.792, allocations: 35.44 kB / 0.9801 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.792, allocations: 0 / 0.9801 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of Templates: time 0.01414/0.8061, allocations: 8.42 MB / 0.9883 GB, free: 9.121 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches