Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001401/0.0014, 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.001556/0.001556, 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.348/1.348, 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 11.0.0-master/package.mo): time 2.53/2.53, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.36 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2822, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005852/0.288, allocations: 4.587 MB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.289, allocations: 0.8186 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.2891, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2893, allocations: 31.77 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.2894, allocations: 35.7 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.2898, allocations: 167.3 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.29, allocations: 179.4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.2901, allocations: 17.11 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.2903, allocations: 83.75 kB / 1.033 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.2904, allocations: 79.72 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.2904, allocations: 12 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.2907, allocations: 147.8 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.2908, allocations: 39.83 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.2909, allocations: 63.72 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.2912, allocations: 243.2 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2912, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2912, allocations: 7.984 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2912, allocations: 0 / 1.033 GB, free: 11.55 MB / 0.8106 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.0008094/0.292, allocations: 471 kB / 1.034 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2921, allocations: 12.03 kB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.2921, allocations: 16.75 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2922, allocations: 181.6 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2923, allocations: 8.375 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2923, allocations: 12.38 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.2926, allocations: 136.5 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2926, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2927, allocations: 3.938 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2927, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.2931, allocations: 139.9 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009236/0.294, allocations: 464.5 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.2943, allocations: 138.4 kB / 1.035 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.2945, allocations: 64.81 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.2958, allocations: 0.9607 MB / 1.036 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2959, allocations: 38.56 kB / 1.036 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2959, allocations: 0 / 1.036 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006572/0.2965, allocations: 225.1 kB / 1.036 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2966, allocations: 51.41 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2967, allocations: 164.8 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2968, allocations: 25.7 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.2968, allocations: 112.3 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2969, allocations: 43.36 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.2969, allocations: 49.7 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2971, allocations: 326.8 kB / 1.037 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2973, allocations: 75.94 kB / 1.037 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2975, allocations: 105.3 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.2979, allocations: 172.9 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2979, allocations: 0 / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005369/0.2985, allocations: 243.7 kB / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2985, allocations: 4 kB / 1.037 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2985, allocations: 7.984 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2985, allocations: 3.938 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2988, allocations: 51.91 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2988, allocations: 8 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.299, allocations: 35.67 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.299, allocations: 16.08 kB / 1.037 GB, free: 6.883 MB / 0.8106 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 0.000104/0.2991, allocations: 129.7 kB / 1.037 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.2992, allocations: 19.73 kB / 1.037 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.2997, allocations: 174.9 kB / 1.038 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2997, allocations: 7.938 kB / 1.038 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2997, allocations: 4 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2997, allocations: 0 / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.2999, allocations: 209.6 kB / 1.038 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2999, allocations: 0 / 1.038 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3001, allocations: 31.97 kB / 1.038 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3001, allocations: 0 / 1.038 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3001, allocations: 7.938 kB / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3001, allocations: 0 / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3001, allocations: 0 / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.3006, allocations: 267.1 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.3007, allocations: 96.98 kB / 1.038 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3007, allocations: 7.938 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3008, allocations: 11.98 kB / 1.038 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.3009, allocations: 11.98 kB / 1.038 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3009, allocations: 8 kB / 1.038 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.551e-05/0.301, allocations: 112 kB / 1.038 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.301, allocations: 0 / 1.038 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003217/0.3013, allocations: 60.31 kB / 1.038 GB, free: 5.648 MB / 0.8106 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.0002674/0.3016, allocations: 155.2 kB / 1.039 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.3021, allocations: 171.8 kB / 1.039 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3021, allocations: 0 / 1.039 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.3023, allocations: 76.08 kB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3026, allocations: 15.98 kB / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.3031, allocations: 246 kB / 1.039 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3033, allocations: 0.7084 MB / 1.04 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.358e-05/0.3034, allocations: 24.95 kB / 1.04 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.3035, allocations: 19.44 kB / 1.04 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.3035, allocations: 0 / 1.04 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.005686/0.3092, allocations: 2.732 MB / 1.042 GB, free: 1.48 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches