Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001613/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002053/0.002053, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 65.06 kB / 0.8986 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3069, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004674/0.3116, allocations: 2.795 MB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.3163, allocations: 2.769 MB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.3168, allocations: 4 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3186, allocations: 466.2 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.3194, allocations: 243.1 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009903/0.3204, allocations: 371.3 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.3223, allocations: 1.552 MB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.3226, allocations: 134.3 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.3234, allocations: 494.7 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.3241, allocations: 434.6 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.3242, allocations: 48 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3244, allocations: 52 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.3246, allocations: 267.3 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.3251, allocations: 374.2 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.3259, allocations: 0.8918 MB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3259, allocations: 8 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3259, allocations: 0 / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.462e-05/0.3259, allocations: 4 kB / 1.063 GB, free: 13.86 MB / 0.8262 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.002258/0.3282, allocations: 1.14 MB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.3283, allocations: 12.62 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.3285, allocations: 76 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.3299, allocations: 0.6487 MB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.33, allocations: 24.94 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3301, allocations: 52.34 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.331, allocations: 374.8 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3311, allocations: 0 / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3311, allocations: 12 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3311, allocations: 7.938 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.3317, allocations: 241.5 kB / 1.065 GB, free: 11.18 MB / 0.8262 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.004962/0.3367, allocations: 2.455 MB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3382, allocations: 390.5 kB / 1.068 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.3386, allocations: 146.4 kB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3386, allocations: 4 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3387, allocations: 34.56 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.254e-06/0.3387, allocations: 0 / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001231/0.3399, allocations: 0.5378 MB / 1.069 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.34, allocations: 55.41 kB / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3413, allocations: 0.9337 MB / 1.07 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3414, allocations: 37.7 kB / 1.07 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.3416, allocations: 308.3 kB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.3417, allocations: 63.05 kB / 1.07 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3419, allocations: 126.1 kB / 1.07 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3421, allocations: 382.7 kB / 1.071 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.3424, allocations: 244.9 kB / 1.071 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.343, allocations: 0.4936 MB / 1.071 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.3437, allocations: 0.7091 MB / 1.072 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3437, allocations: 0 / 1.072 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001153/0.3449, allocations: 0.8135 MB / 1.073 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3449, allocations: 9.875 kB / 1.073 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3449, allocations: 8 kB / 1.073 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.3452, allocations: 53.27 kB / 1.073 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.3456, allocations: 147.7 kB / 1.073 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.3473, allocations: 1.543 MB / 1.075 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3483, allocations: 123.2 kB / 1.075 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.3484, allocations: 28 kB / 1.075 GB, free: 0.8828 MB / 0.8262 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.0004988/0.3489, allocations: 341.5 kB / 1.075 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.349, allocations: 67.09 kB / 1.075 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.3492, allocations: 66 kB / 1.075 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3492, allocations: 0 / 1.075 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3492, allocations: 4 kB / 1.075 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3492, allocations: 3.984 kB / 1.075 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/0.3501, allocations: 0.5791 MB / 1.076 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3502, allocations: 0 / 1.076 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.3506, allocations: 51.83 kB / 1.076 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.3507, allocations: 48.81 kB / 1.076 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.3508, allocations: 8 kB / 1.076 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.3523, allocations: 1.515 MB / 1.077 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3523, allocations: 3.938 kB / 1.077 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3534, allocations: 0.5696 MB / 1.078 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.3538, allocations: 200.4 kB / 1.078 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3539, allocations: 15.98 kB / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.3545, allocations: 55.7 kB / 1.078 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.3546, allocations: 11.98 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3546, allocations: 8 kB / 1.078 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001255/0.3559, allocations: 0.659 MB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3559, allocations: 7.938 kB / 1.079 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001025/0.3569, allocations: 183.8 kB / 1.079 GB, free: 12.26 MB / 0.8419 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.0001576/0.3571, allocations: 99.25 kB / 1.079 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.3585, allocations: 0.5978 MB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3585, allocations: 0 / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.359, allocations: 252.1 kB / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.3603, allocations: 169.2 kB / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.3636, allocations: 1.706 MB / 1.082 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/0.3645, allocations: 1.003 MB / 1.083 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007071/0.3652, allocations: 184.5 kB / 1.083 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3654, allocations: 39.44 kB / 1.083 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of SimCode: time 8.41e-07/0.3654, allocations: 0 / 1.083 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of Templates: time 0.0153/0.3807, allocations: 8.391 MB / 1.091 GB, free: 15.88 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches