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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001194/0.001194, allocations: 92.23 kB / 16.02 MB, free: 80 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.001166/0.001166, allocations: 177.3 kB / 16.92 MB, free: 6.648 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6452, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.00287/0.6481, allocations: 2.419 MB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.652, allocations: 2.76 MB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.6524, allocations: 4 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.6538, allocations: 466.3 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.6544, allocations: 243.1 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.6552, allocations: 331.1 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.6571, allocations: 1.715 MB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.6574, allocations: 121.7 kB / 1.032 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.6581, allocations: 410.7 kB / 1.032 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.6587, allocations: 386.6 kB / 1.032 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.6588, allocations: 20 kB / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.6589, allocations: 28 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.6592, allocations: 231.3 kB / 1.033 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.6596, allocations: 355.9 kB / 1.033 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.6602, allocations: 0.7287 MB / 1.034 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6602, allocations: 0 / 1.034 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6602, allocations: 0 / 1.034 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.093e-05/0.6602, allocations: 0 / 1.034 GB, free: 5.625 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.001956/0.6622, allocations: 1.024 MB / 1.035 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6623, allocations: 15.97 kB / 1.035 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.6624, allocations: 79.98 kB / 1.035 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.6635, allocations: 0.6487 MB / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.6635, allocations: 32.88 kB / 1.035 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.4e-05/0.6636, allocations: 48.31 kB / 1.035 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.6642, allocations: 374.9 kB / 1.036 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6642, allocations: 0 / 1.036 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.6642, allocations: 15.94 kB / 1.036 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.6642, allocations: 11.94 kB / 1.036 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.6646, allocations: 237.5 kB / 1.036 GB, free: 3.043 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.003526/0.6682, allocations: 2.474 MB / 1.038 GB, free: 388 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.6692, allocations: 400.2 kB / 1.039 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.6694, allocations: 140.7 kB / 1.039 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.6694, allocations: 3.984 kB / 1.039 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.6695, allocations: 38.56 kB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.6695, allocations: 0 / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0009823/0.6705, allocations: 0.5378 MB / 1.04 GB, free: 15.22 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.6705, allocations: 59.41 kB / 1.04 GB, free: 15.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6717, allocations: 0.9376 MB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.6718, allocations: 33.7 kB / 1.041 GB, free: 14.17 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.672, allocations: 300.4 kB / 1.041 GB, free: 13.87 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.6721, allocations: 67.09 kB / 1.041 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.6722, allocations: 65.69 kB / 1.041 GB, free: 13.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6724, allocations: 386.7 kB / 1.041 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.6727, allocations: 244.9 kB / 1.042 GB, free: 13.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.6732, allocations: 0.4975 MB / 1.042 GB, free: 12.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/0.674, allocations: 0.7083 MB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6741, allocations: 0 / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001213/0.6753, allocations: 0.8211 MB / 1.044 GB, free: 10.81 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6753, allocations: 9.406 kB / 1.044 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.6753, allocations: 8.719 kB / 1.044 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.6755, allocations: 52.83 kB / 1.044 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.676, allocations: 143.7 kB / 1.044 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.6774, allocations: 1.44 MB / 1.045 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.6782, allocations: 127.2 kB / 1.045 GB, free: 8.906 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.6782, allocations: 28 kB / 1.045 GB, free: 8.879 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.0003973/0.6786, allocations: 338.1 kB / 1.046 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.6787, allocations: 63.23 kB / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.6789, allocations: 70 kB / 1.046 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6789, allocations: 7.938 kB / 1.046 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6789, allocations: 3.938 kB / 1.046 GB, free: 8.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6789, allocations: 3.984 kB / 1.046 GB, free: 8.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.6796, allocations: 0.5752 MB / 1.046 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6796, allocations: 0 / 1.046 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.6798, allocations: 55.83 kB / 1.046 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.68, allocations: 48.81 kB / 1.046 GB, free: 7.656 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.68, allocations: 12 kB / 1.046 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009846/0.681, allocations: 1.42 MB / 1.048 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.681, allocations: 0 / 1.048 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.6818, allocations: 0.5759 MB / 1.048 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.682, allocations: 204.2 kB / 1.049 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.6821, allocations: 7.984 kB / 1.049 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.6825, allocations: 47.92 kB / 1.049 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.6826, allocations: 11.98 kB / 1.049 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.6826, allocations: 8 kB / 1.049 GB, free: 5.203 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008206/0.6834, allocations: 0.659 MB / 1.049 GB, free: 4.551 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6834, allocations: 4 kB / 1.049 GB, free: 4.547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006415/0.6841, allocations: 183.8 kB / 1.049 GB, free: 4.367 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.0001223/0.6842, allocations: 103.2 kB / 1.05 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008779/0.6851, allocations: 0.5741 MB / 1.05 GB, free: 3.668 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6851, allocations: 0 / 1.05 GB, free: 3.668 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.6854, allocations: 259.1 kB / 1.05 GB, free: 3.402 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.6863, allocations: 161.9 kB / 1.05 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.6886, allocations: 1.843 MB / 1.052 GB, free: 1.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.6891, allocations: 1.01 MB / 1.053 GB, free: 340 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6893, allocations: 35.44 kB / 1.053 GB, free: 308 kB / 0.795 GB Notification: Performance of SimCode: time 5e-07/0.6893, allocations: 4 kB / 1.053 GB, free: 304 kB / 0.795 GB Notification: Performance of Templates: time 0.01587/0.7052, allocations: 12.17 MB / 1.065 GB, free: 4.172 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches