Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001532/0.001533, allocations: 102.5 kB / 16.27 MB, free: 5.957 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.001833/0.001833, allocations: 188.2 kB / 17.19 MB, free: 5.59 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.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.145/2.145, allocations: 390.2 MB / 0.6653 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.03 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 140.4 MB / 0.9502 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.005141/0.2574, allocations: 2.739 MB / 0.9529 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.2619, allocations: 2.773 MB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.2623, allocations: 11.94 kB / 0.9556 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.264, allocations: 0.4941 MB / 0.9561 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.2648, allocations: 254.9 kB / 0.9564 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2659, allocations: 398.9 kB / 0.9568 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.2679, allocations: 1.528 MB / 0.9582 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.2682, allocations: 134.3 kB / 0.9584 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008851/0.2691, allocations: 478.8 kB / 0.9588 GB, free: 28 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.27, allocations: 410.7 kB / 0.9592 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.2701, allocations: 48 kB / 0.9593 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2703, allocations: 60 kB / 0.9593 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.2706, allocations: 267.2 kB / 0.9596 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.271, allocations: 374.2 kB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.2718, allocations: 0.8956 MB / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2718, allocations: 0 / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2718, allocations: 0 / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2718, allocations: 0 / 0.9608 GB, free: 13.99 MB / 0.7481 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.00205/0.2739, allocations: 1.156 MB / 0.9619 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2739, allocations: 8.031 kB / 0.9619 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.2741, allocations: 84 kB / 0.962 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.275, allocations: 0.6448 MB / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.275, allocations: 28.94 kB / 0.9627 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.2751, allocations: 40.36 kB / 0.9627 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.2757, allocations: 374.8 kB / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2757, allocations: 8 kB / 0.9631 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2757, allocations: 8 kB / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2757, allocations: 8 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.2761, allocations: 229.5 kB / 0.9633 GB, free: 11.3 MB / 0.7481 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.003591/0.2797, allocations: 2.47 MB / 0.9657 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.2807, allocations: 394.5 kB / 0.9661 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2809, allocations: 136.7 kB / 0.9662 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.281, allocations: 4 kB / 0.9662 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.281, allocations: 38.55 kB / 0.9663 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.215e-06/0.281, allocations: 7.938 kB / 0.9663 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001036/0.2821, allocations: 0.5284 MB / 0.9668 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2821, allocations: 55.41 kB / 0.9669 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.2833, allocations: 0.9298 MB / 0.9678 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2834, allocations: 37.7 kB / 0.9678 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.2836, allocations: 300.4 kB / 0.9681 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.2837, allocations: 71.05 kB / 0.9682 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.2839, allocations: 126.1 kB / 0.9683 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.284, allocations: 382.7 kB / 0.9686 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.2844, allocations: 244.8 kB / 0.9689 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.285, allocations: 0.4975 MB / 0.9694 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/0.2858, allocations: 0.6964 MB / 0.97 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.2858, allocations: 8 kB / 0.97 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001237/0.2871, allocations: 0.8091 MB / 0.9708 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.2871, allocations: 12.16 kB / 0.9708 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.2871, allocations: 15.94 kB / 0.9709 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.2873, allocations: 48.83 kB / 0.9709 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.2878, allocations: 143.7 kB / 0.971 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.2891, allocations: 1.538 MB / 0.9725 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.2899, allocations: 123.2 kB / 0.9727 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.2899, allocations: 32.12 kB / 0.9727 GB, free: 1.004 MB / 0.7481 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.0003871/0.2903, allocations: 342.4 kB / 0.973 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2904, allocations: 71.08 kB / 0.9731 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.2905, allocations: 70 kB / 0.9732 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2906, allocations: 4 kB / 0.9732 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2906, allocations: 0 / 0.9732 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2906, allocations: 3.984 kB / 0.9732 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.2913, allocations: 0.5752 MB / 0.9737 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2913, allocations: 4 kB / 0.9737 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.2915, allocations: 55.83 kB / 0.9738 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.2917, allocations: 44.81 kB / 0.9738 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2917, allocations: 12 kB / 0.9738 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.2928, allocations: 1.511 MB / 0.9753 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2929, allocations: 0 / 0.9753 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.2936, allocations: 0.5696 MB / 0.9759 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.2939, allocations: 196.4 kB / 0.9761 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/0.294, allocations: 11.98 kB / 0.9761 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.2944, allocations: 43.86 kB / 0.9761 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.2944, allocations: 15.98 kB / 0.9761 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2945, allocations: 8 kB / 0.9761 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008305/0.2953, allocations: 0.6629 MB / 0.9768 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2953, allocations: 0 / 0.9768 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006477/0.296, allocations: 191.7 kB / 0.977 GB, free: 12.39 MB / 0.7637 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.0001401/0.2961, allocations: 103.2 kB / 0.9771 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009961/0.2971, allocations: 0.6004 MB / 0.9776 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2971, allocations: 0 / 0.9776 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.2975, allocations: 254.5 kB / 0.9779 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.2983, allocations: 175.8 kB / 0.9781 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.3006, allocations: 1.562 MB / 0.9796 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.3012, allocations: 1.003 MB / 0.9806 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3013, allocations: 39.44 kB / 0.9806 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/0.3013, allocations: 3.938 kB / 0.9806 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of Templates: time 0.01786/0.3192, allocations: 12.26 MB / 0.9926 GB, free: 12.35 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches