Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 115.8 kB / 16.37 MB, free: 6 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.001609/0.00161, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 66.67 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2458, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005208/0.251, allocations: 3.737 MB / 0.9548 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004137/0.2552, allocations: 2.51 MB / 0.9572 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005248/0.2558, allocations: 15.88 kB / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.2566, allocations: 258.3 kB / 0.9575 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.2578, allocations: 0.4897 MB / 0.9579 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2593, allocations: 0.5378 MB / 0.9585 GB, free: 492 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.261, allocations: 1.386 MB / 0.9598 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.2613, allocations: 153.1 kB / 0.96 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.262, allocations: 426.5 kB / 0.9604 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.2628, allocations: 466.2 kB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.2629, allocations: 52 kB / 0.9609 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.2631, allocations: 56 kB / 0.9609 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004031/0.2635, allocations: 379 kB / 0.9613 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.2642, allocations: 469.5 kB / 0.9617 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.2651, allocations: 0.9342 MB / 0.9626 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2651, allocations: 0 / 0.9626 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2651, allocations: 0 / 0.9626 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.443e-05/0.2651, allocations: 0 / 0.9626 GB, free: 12.19 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002429/0.2676, allocations: 1.269 MB / 0.9639 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2676, allocations: 12.03 kB / 0.9639 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.2678, allocations: 99.72 kB / 0.964 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.2689, allocations: 0.6715 MB / 0.9646 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.2689, allocations: 41.03 kB / 0.9647 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.269, allocations: 68.27 kB / 0.9648 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.2696, allocations: 414.8 kB / 0.9651 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2696, allocations: 0 / 0.9651 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.2697, allocations: 12 kB / 0.9652 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2697, allocations: 8 kB / 0.9652 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.2701, allocations: 242.4 kB / 0.9654 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.273, allocations: 2.486 MB / 0.9678 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.2744, allocations: 0.5493 MB / 0.9684 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.2747, allocations: 160.8 kB / 0.9685 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2747, allocations: 4 kB / 0.9685 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2748, allocations: 38.55 kB / 0.9686 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.2748, allocations: 0 / 0.9686 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.001512/0.2763, allocations: 0.8835 MB / 0.9694 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2763, allocations: 55.34 kB / 0.9695 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2774, allocations: 0.927 MB / 0.9704 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.2775, allocations: 41.7 kB / 0.9704 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.2777, allocations: 368.8 kB / 0.9708 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.2778, allocations: 114.3 kB / 0.9709 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.278, allocations: 174.6 kB / 0.971 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2782, allocations: 394.7 kB / 0.9714 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.2786, allocations: 241.8 kB / 0.9717 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.2792, allocations: 0.6388 MB / 0.9723 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.2801, allocations: 0.8914 MB / 0.9731 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2802, allocations: 7.938 kB / 0.9732 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001527/0.2817, allocations: 1.018 MB / 0.9741 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2817, allocations: 8 kB / 0.9742 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2817, allocations: 16.5 kB / 0.9742 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.2822, allocations: 130.4 kB / 0.9743 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.2828, allocations: 191.7 kB / 0.9745 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.286, allocations: 4.465 MB / 0.9788 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.2869, allocations: 110.9 kB / 0.9789 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.287, allocations: 48.06 kB / 0.979 GB, free: 10.16 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.2873, allocations: 273.3 kB / 0.9793 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2874, allocations: 78.97 kB / 0.9793 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.2875, allocations: 80.72 kB / 0.9794 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2875, allocations: 7.984 kB / 0.9794 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2876, allocations: 0 / 0.9794 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2876, allocations: 3.984 kB / 0.9794 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.2883, allocations: 0.6609 MB / 0.9801 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2883, allocations: 0 / 0.9801 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.2886, allocations: 59.94 kB / 0.9801 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.2889, allocations: 106.4 kB / 0.9802 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.289, allocations: 11.98 kB / 0.9802 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.2921, allocations: 4.445 MB / 0.9846 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2921, allocations: 0 / 0.9846 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2932, allocations: 0.7392 MB / 0.9853 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.2935, allocations: 215.9 kB / 0.9855 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/0.2936, allocations: 8 kB / 0.9855 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.2941, allocations: 19.97 kB / 0.9855 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.2941, allocations: 23.97 kB / 0.9855 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2942, allocations: 4 kB / 0.9856 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007951/0.295, allocations: 0.6278 MB / 0.9862 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/0.295, allocations: 0 / 0.9862 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008159/0.2958, allocations: 271.7 kB / 0.9864 GB, free: 2.016 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001277/0.2959, allocations: 111.2 kB / 0.9865 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.2972, allocations: 0.9243 MB / 0.9874 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2973, allocations: 0 / 0.9874 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.2978, allocations: 0.5194 MB / 0.9879 GB, free: 388 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.2986, allocations: 185.6 kB / 0.9881 GB, free: 204 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3016, allocations: 1.698 MB / 0.9898 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.3024, allocations: 0.9956 MB / 0.9907 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003647/0.3027, allocations: 149.9 kB / 0.9909 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3029, allocations: 43.44 kB / 0.9909 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.3029, allocations: 0 / 0.9909 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.01868/0.3216, allocations: 10.11 MB / 1.001 GB, free: 3.254 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches