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.001639/0.001639, allocations: 111.3 kB / 16.37 MB, free: 6.012 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.001697/0.001698, allocations: 189.5 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.16 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.224/2.224, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 60.61 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005254/0.2978, allocations: 3.745 MB / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.3023, allocations: 2.506 MB / 0.9572 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.3029, allocations: 15.88 kB / 0.9572 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.3038, allocations: 250.4 kB / 0.9575 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.305, allocations: 0.4937 MB / 0.9579 GB, free: 1 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.3064, allocations: 0.53 MB / 0.9585 GB, free: 480 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.308, allocations: 1.394 MB / 0.9598 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.3083, allocations: 153.1 kB / 0.96 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.3088, allocations: 430.5 kB / 0.9604 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.3094, allocations: 462.2 kB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.3095, allocations: 56 kB / 0.9609 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3096, allocations: 56 kB / 0.9609 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.31, allocations: 378.9 kB / 0.9613 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.3104, allocations: 461.6 kB / 0.9617 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.3113, allocations: 0.938 MB / 0.9626 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3113, allocations: 4 kB / 0.9627 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3113, allocations: 0 / 0.9627 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.3113, allocations: 0 / 0.9627 GB, free: 12.17 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.002343/0.3137, allocations: 1.265 MB / 0.9639 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3137, allocations: 8.031 kB / 0.9639 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3139, allocations: 103.7 kB / 0.964 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.315, allocations: 0.6754 MB / 0.9647 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.3151, allocations: 37.03 kB / 0.9647 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.3151, allocations: 64.28 kB / 0.9648 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.3157, allocations: 406.9 kB / 0.9651 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3158, allocations: 3.938 kB / 0.9651 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3158, allocations: 20 kB / 0.9652 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3158, allocations: 8 kB / 0.9652 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.3162, allocations: 234.4 kB / 0.9654 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.3193, allocations: 2.486 MB / 0.9678 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3208, allocations: 0.5488 MB / 0.9684 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.3211, allocations: 168.8 kB / 0.9685 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3211, allocations: 4 kB / 0.9685 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3211, allocations: 34.5 kB / 0.9686 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.3212, allocations: 4 kB / 0.9686 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.001653/0.3228, allocations: 0.8835 MB / 0.9694 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3229, allocations: 55.41 kB / 0.9695 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3241, allocations: 0.927 MB / 0.9704 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.3241, allocations: 41.7 kB / 0.9704 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.3244, allocations: 364.8 kB / 0.9708 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3245, allocations: 118.3 kB / 0.9709 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.3248, allocations: 170.6 kB / 0.971 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3249, allocations: 398.7 kB / 0.9714 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.3253, allocations: 241.8 kB / 0.9717 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.326, allocations: 0.6426 MB / 0.9723 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.327, allocations: 0.8952 MB / 0.9732 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3271, allocations: 8 kB / 0.9732 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001785/0.3288, allocations: 1.014 MB / 0.9742 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.3289, allocations: 12 kB / 0.9742 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3289, allocations: 12 kB / 0.9742 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.3293, allocations: 126.4 kB / 0.9743 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.33, allocations: 199.7 kB / 0.9745 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/0.3337, allocations: 4.461 MB / 0.9788 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3348, allocations: 114.9 kB / 0.979 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.3349, allocations: 40 kB / 0.979 GB, free: 10.14 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.0004246/0.3354, allocations: 271.1 kB / 0.9792 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3355, allocations: 78.97 kB / 0.9793 GB, free: 9.793 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3356, allocations: 76.58 kB / 0.9794 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.3356, allocations: 12.19 kB / 0.9794 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.3357, allocations: 7.938 kB / 0.9794 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3357, allocations: 3.984 kB / 0.9794 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.3365, allocations: 0.657 MB / 0.9801 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3365, allocations: 4 kB / 0.9801 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.3369, allocations: 59.95 kB / 0.9801 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.3372, allocations: 102.5 kB / 0.9802 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3372, allocations: 11.98 kB / 0.9802 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.3408, allocations: 4.449 MB / 0.9846 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3408, allocations: 0 / 0.9846 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.3421, allocations: 0.7353 MB / 0.9853 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003972/0.3425, allocations: 215.8 kB / 0.9855 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.3426, allocations: 11.98 kB / 0.9855 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.343, allocations: 19.98 kB / 0.9855 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.3431, allocations: 23.95 kB / 0.9856 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3432, allocations: 8 kB / 0.9856 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008969/0.3441, allocations: 0.6278 MB / 0.9862 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3441, allocations: 0 / 0.9862 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000925/0.345, allocations: 267.7 kB / 0.9864 GB, free: 1.996 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.000176/0.3452, allocations: 107.2 kB / 0.9865 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.3467, allocations: 0.9273 MB / 0.9874 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3467, allocations: 0 / 0.9874 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.3473, allocations: 0.5208 MB / 0.9879 GB, free: 368 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.3482, allocations: 191.1 kB / 0.9881 GB, free: 180 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3508, allocations: 1.695 MB / 0.9898 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.3516, allocations: 0.9956 MB / 0.9908 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000408/0.352, allocations: 149.8 kB / 0.9909 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3522, allocations: 47.44 kB / 0.9909 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 1.252e-06/0.3522, allocations: 0 / 0.9909 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.02025/0.3725, allocations: 10.1 MB / 1.001 GB, free: 3.238 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 cvode -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