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.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.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.001764/0.001764, 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.002579/0.00258, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.405/2.405, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 60.09 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7097, allocations: 140.4 MB / 0.9491 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004425/0.7142, allocations: 3.765 MB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003641/0.7178, allocations: 2.502 MB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.7182, allocations: 15.66 kB / 0.9552 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.7189, allocations: 220 kB / 0.9554 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007631/0.7197, allocations: 462 kB / 0.9559 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.7208, allocations: 496.8 kB / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.7221, allocations: 1.385 MB / 0.9577 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.7224, allocations: 152.6 kB / 0.9578 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.7229, allocations: 429.9 kB / 0.9582 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.7235, allocations: 0.5454 MB / 0.9588 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.7236, allocations: 61.59 kB / 0.9588 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.7238, allocations: 62.31 kB / 0.9589 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.7241, allocations: 340.4 kB / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.7245, allocations: 466.2 kB / 0.9597 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.7253, allocations: 0.9264 MB / 0.9606 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.7253, allocations: 3.938 kB / 0.9606 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.093e-06/0.7253, allocations: 0 / 0.9606 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.7253, allocations: 0 / 0.9606 GB, free: 0.9375 MB / 0.7169 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.00208/0.7274, allocations: 1.261 MB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7274, allocations: 9.031 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.7276, allocations: 102.8 kB / 0.9619 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.7286, allocations: 0.6539 MB / 0.9626 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.7286, allocations: 41.84 kB / 0.9626 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/0.7287, allocations: 69.73 kB / 0.9627 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.7294, allocations: 407.6 kB / 0.963 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7294, allocations: 1.375 kB / 0.963 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.7294, allocations: 14.78 kB / 0.9631 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.7295, allocations: 12.33 kB / 0.9631 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.7299, allocations: 228.7 kB / 0.9633 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.7329, allocations: 2.502 MB / 0.9657 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.7345, allocations: 0.5524 MB / 0.9663 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.7349, allocations: 163.9 kB / 0.9664 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.7349, allocations: 3.375 kB / 0.9664 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.735, allocations: 35.53 kB / 0.9665 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.735, allocations: 0.7812 kB / 0.9665 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002173/0.7372, allocations: 0.8882 MB / 0.9673 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.7372, allocations: 62.62 kB / 0.9674 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7389, allocations: 0.9299 MB / 0.9683 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.927e-05/0.739, allocations: 40.33 kB / 0.9683 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.7394, allocations: 358.9 kB / 0.9687 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.7396, allocations: 117.3 kB / 0.9688 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.7399, allocations: 172.2 kB / 0.969 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002617/0.7402, allocations: 396.7 kB / 0.9693 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.7406, allocations: 244.1 kB / 0.9696 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.7414, allocations: 0.6398 MB / 0.9702 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.7425, allocations: 0.8894 MB / 0.9711 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.7426, allocations: 4.25 kB / 0.9711 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00174/0.7443, allocations: 1.015 MB / 0.9721 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.7443, allocations: 10.75 kB / 0.9721 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.7444, allocations: 14.56 kB / 0.9721 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.7448, allocations: 124.7 kB / 0.9722 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.7455, allocations: 196.1 kB / 0.9724 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.7487, allocations: 4.48 MB / 0.9768 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.7497, allocations: 115.2 kB / 0.9769 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.7498, allocations: 39.28 kB / 0.9769 GB, free: 3.379 MB / 0.7325 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.0003354/0.7501, allocations: 278.1 kB / 0.9772 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.7503, allocations: 79 kB / 0.9773 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.7504, allocations: 75.22 kB / 0.9773 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7504, allocations: 2.938 kB / 0.9773 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.7504, allocations: 6.656 kB / 0.9773 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7504, allocations: 3.984 kB / 0.9773 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.7512, allocations: 0.651 MB / 0.978 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.7512, allocations: 1.25 kB / 0.978 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.7515, allocations: 67.81 kB / 0.978 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.7518, allocations: 102.7 kB / 0.9781 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.7518, allocations: 12.42 kB / 0.9782 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.7548, allocations: 4.452 MB / 0.9825 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7549, allocations: 5.312 kB / 0.9825 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.7559, allocations: 0.7387 MB / 0.9832 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.7562, allocations: 211.9 kB / 0.9834 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.546e-05/0.7563, allocations: 8 kB / 0.9834 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.7568, allocations: 27.97 kB / 0.9835 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.7569, allocations: 23.97 kB / 0.9835 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.7569, allocations: 7.984 kB / 0.9835 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007661/0.7577, allocations: 0.6239 MB / 0.9841 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7577, allocations: 0 / 0.9841 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008713/0.7586, allocations: 263.8 kB / 0.9844 GB, free: 12.23 MB / 0.7481 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.0001377/0.7587, allocations: 115.2 kB / 0.9845 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.76, allocations: 0.9524 MB / 0.9854 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.76, allocations: 4.062 kB / 0.9854 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.7607, allocations: 0.531 MB / 0.9859 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.7615, allocations: 175.8 kB / 0.9861 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.764, allocations: 1.958 MB / 0.988 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.7646, allocations: 0.9839 MB / 0.989 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000366/0.7649, allocations: 145.9 kB / 0.9891 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.7651, allocations: 51.44 kB / 0.9891 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of SimCode: time 1.423e-06/0.7651, allocations: 0 / 0.9891 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of Templates: time 0.01658/0.7817, allocations: 10.09 MB / 0.999 GB, free: 13.21 MB / 0.7637 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches