Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001321/0.001321, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.465/1.465, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.242/2.242, allocations: 390.2 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 62.2 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2513, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003486/0.2548, allocations: 1.96 MB / 0.9517 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.256, allocations: 0.6353 MB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2561, allocations: 0 / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.2564, allocations: 55.73 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.2567, allocations: 59.66 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2569, allocations: 63.92 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.2577, allocations: 0.6941 MB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2579, allocations: 40.88 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.2583, allocations: 227.5 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.2587, allocations: 291.4 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.2588, allocations: 44 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2589, allocations: 48 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2591, allocations: 187.5 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.2594, allocations: 219.3 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.2597, allocations: 387.4 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2597, allocations: 0 / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2598, allocations: 0 / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.2598, allocations: 0 / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002215/0.262, allocations: 0.7676 MB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.262, allocations: 8.031 kB / 0.9553 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2622, allocations: 32.56 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2626, allocations: 312.2 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2626, allocations: 24.34 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.2627, allocations: 32 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.263, allocations: 181 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2631, allocations: 3.984 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2631, allocations: 8 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2631, allocations: 0 / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.2634, allocations: 148.6 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.2676, allocations: 1.296 MB / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.269, allocations: 470.2 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2692, allocations: 116.8 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2692, allocations: 3.938 kB / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2692, allocations: 34.56 kB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.2692, allocations: 4 kB / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0006494/0.2699, allocations: 351.4 kB / 0.9582 GB, free: 448 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2699, allocations: 59.41 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.2703, allocations: 282.5 kB / 0.9585 GB, free: 76 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.2703, allocations: 37.7 kB / 0.9585 GB, free: 32 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.2705, allocations: 140.8 kB / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.2706, allocations: 74.91 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.2708, allocations: 114.2 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2709, allocations: 342.8 kB / 0.9592 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.2714, allocations: 269 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.2718, allocations: 328.5 kB / 0.9598 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.2725, allocations: 438.7 kB / 0.9602 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2725, allocations: 0 / 0.9602 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001141/0.2737, allocations: 0.69 MB / 0.9609 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2737, allocations: 7.938 kB / 0.9609 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2737, allocations: 0 / 0.9609 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2737, allocations: 4 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/0.2745, allocations: 131.7 kB / 0.961 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2745, allocations: 4 kB / 0.961 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2758, allocations: 99.28 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.2759, allocations: 15.98 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.2761, allocations: 163.7 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.2761, allocations: 23.66 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.2762, allocations: 26.19 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2762, allocations: 3.938 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.2762, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2762, allocations: 3.984 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.2766, allocations: 429 kB / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2766, allocations: 7.984 kB / 0.9617 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.2769, allocations: 39.97 kB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2769, allocations: 3.938 kB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2769, allocations: 8 kB / 0.9618 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.277, allocations: 7.938 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.277, allocations: 3.984 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.2776, allocations: 484.6 kB / 0.9623 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.2777, allocations: 116.7 kB / 0.9624 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.2777, allocations: 8 kB / 0.9624 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.2783, allocations: 23.95 kB / 0.9624 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.2784, allocations: 7.984 kB / 0.9624 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2784, allocations: 4 kB / 0.9624 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001744/0.2786, allocations: 197.9 kB / 0.9626 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2786, allocations: 0 / 0.9626 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006113/0.2792, allocations: 207.8 kB / 0.9628 GB, free: 11.56 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],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.2793, allocations: 103.2 kB / 0.9629 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008032/0.2801, allocations: 486.9 kB / 0.9634 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2801, allocations: 0 / 0.9634 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2803, allocations: 119.8 kB / 0.9635 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.2808, allocations: 70.84 kB / 0.9635 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.2825, allocations: 1.076 MB / 0.9646 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.2831, allocations: 0.7713 MB / 0.9653 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.2833, allocations: 35.42 kB / 0.9654 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.2833, allocations: 3.938 kB / 0.9654 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.008192/0.2915, allocations: 4.88 MB / 0.9701 GB, free: 3.973 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches