Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009779, allocations: 115.2 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.001109/0.00111, 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.17 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.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 66.81 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005834/0.2803, allocations: 4.594 MB / 0.9556 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.2814, allocations: 0.8108 MB / 0.9564 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.2814, allocations: 4 kB / 0.9564 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.2816, allocations: 27.77 kB / 0.9564 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.2817, allocations: 35.7 kB / 0.9565 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.2822, allocations: 171.4 kB / 0.9566 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.2823, allocations: 171.4 kB / 0.9568 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.2825, allocations: 25.09 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2826, allocations: 79.7 kB / 0.9569 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2827, allocations: 83.66 kB / 0.957 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.2828, allocations: 12 kB / 0.957 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.2831, allocations: 151.8 kB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.2831, allocations: 35.89 kB / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.2832, allocations: 67.66 kB / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.2835, allocations: 235.3 kB / 0.9575 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2835, allocations: 7.938 kB / 0.9575 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2835, allocations: 0 / 0.9575 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2836, allocations: 3.938 kB / 0.9575 GB, free: 1.52 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008294/0.2844, allocations: 479 kB / 0.9579 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2845, allocations: 8.031 kB / 0.9579 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.2845, allocations: 20.75 kB / 0.958 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.2847, allocations: 178 kB / 0.9581 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2847, allocations: 8.375 kB / 0.9581 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.2847, allocations: 15.94 kB / 0.9581 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.285, allocations: 117.6 kB / 0.9583 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2851, allocations: 0 / 0.9583 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2851, allocations: 3.938 kB / 0.9583 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2851, allocations: 4 kB / 0.9583 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.2855, allocations: 143.9 kB / 0.9584 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.2864, allocations: 468.4 kB / 0.9589 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.2867, allocations: 126.5 kB / 0.959 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2869, allocations: 68.81 kB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.2883, allocations: 0.9764 MB / 0.96 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2884, allocations: 34.5 kB / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.2884, allocations: 0 / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0006775/0.2891, allocations: 209.4 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2891, allocations: 51.41 kB / 0.9603 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2893, allocations: 163.3 kB / 0.9604 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.2893, allocations: 33.64 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.2894, allocations: 104.3 kB / 0.9606 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.2894, allocations: 43.36 kB / 0.9606 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.2895, allocations: 53.62 kB / 0.9607 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2897, allocations: 326.8 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.2899, allocations: 71.95 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.2902, allocations: 117.7 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.2906, allocations: 172.2 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2906, allocations: 0 / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005329/0.2911, allocations: 243.5 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2911, allocations: 11.94 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2912, allocations: 0 / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2912, allocations: 0 / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.2914, allocations: 55.91 kB / 0.9616 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2915, allocations: 3.984 kB / 0.9616 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2916, allocations: 35.67 kB / 0.9616 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.2917, allocations: 16.09 kB / 0.9617 GB, free: 12.85 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.53e-05/0.2918, allocations: 121.8 kB / 0.9618 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2918, allocations: 11.84 kB / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.2923, allocations: 182.8 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2923, allocations: 0 / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2923, allocations: 8 kB / 0.962 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2923, allocations: 0 / 0.962 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2925, allocations: 209.6 kB / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2925, allocations: 3.984 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2927, allocations: 35.92 kB / 0.9622 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2927, allocations: 3.938 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2927, allocations: 0 / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2927, allocations: 4 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2927, allocations: 3.984 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.2932, allocations: 259.2 kB / 0.9625 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.2932, allocations: 96.94 kB / 0.9626 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.2933, allocations: 4 kB / 0.9626 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2934, allocations: 11.98 kB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2935, allocations: 15.98 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2935, allocations: 7.984 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.2935, allocations: 120.8 kB / 0.9627 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2936, allocations: 0 / 0.9627 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003218/0.2939, allocations: 64.05 kB / 0.9628 GB, free: 11.61 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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.0002879/0.2942, allocations: 155.2 kB / 0.9629 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.2947, allocations: 163.8 kB / 0.9631 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2947, allocations: 0 / 0.9631 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.2949, allocations: 76.02 kB / 0.9631 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2952, allocations: 23.45 kB / 0.9632 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.2957, allocations: 257.1 kB / 0.9634 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2959, allocations: 0.7084 MB / 0.9641 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.681e-05/0.296, allocations: 24.95 kB / 0.9641 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.2961, allocations: 19.42 kB / 0.9642 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.2961, allocations: 0 / 0.9642 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.005693/0.3018, allocations: 2.718 MB / 0.9668 GB, free: 7.445 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches