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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005243/0.005244, allocations: 99 kB / 15.73 MB, free: 6.035 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.001149/0.001149, allocations: 200.5 kB / 16.67 MB, free: 5.973 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3011, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006524/0.3077, allocations: 4.596 MB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3088, allocations: 0.81 MB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3089, allocations: 0 / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3091, allocations: 31.75 kB / 1.213 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.3092, allocations: 31.72 kB / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.3099, allocations: 171.4 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3102, allocations: 183.3 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3103, allocations: 17.11 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.3106, allocations: 79.77 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3107, allocations: 83.66 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.3108, allocations: 16 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.3111, allocations: 147.8 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.3112, allocations: 31.91 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.3112, allocations: 67.66 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.3117, allocations: 247.5 kB / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3117, allocations: 0 / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3117, allocations: 4 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3117, allocations: 4 kB / 1.214 GB, free: 3.609 MB / 0.9669 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.0008877/0.3126, allocations: 482.8 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3126, allocations: 8.625 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.3127, allocations: 38.75 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3127, allocations: 16.75 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3129, allocations: 180.2 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3129, allocations: 8.375 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3129, allocations: 12.38 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3133, allocations: 123.2 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3133, allocations: 0 / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3133, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3133, allocations: 4 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.3138, allocations: 143.9 kB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.3147, allocations: 468.4 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.315, allocations: 122.5 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3152, allocations: 72.81 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.3165, allocations: 0.9606 MB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3166, allocations: 42.55 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3166, allocations: 0 / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006775/0.3173, allocations: 209.4 kB / 1.216 GB, free: 452 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3173, allocations: 51.41 kB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3175, allocations: 171.2 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3175, allocations: 29.7 kB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3176, allocations: 108.3 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.3176, allocations: 39.45 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.3177, allocations: 45.7 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.3178, allocations: 326.8 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.318, allocations: 75.94 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3183, allocations: 108.2 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.3187, allocations: 174.1 kB / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3187, allocations: 0 / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005544/0.3193, allocations: 243.4 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3193, allocations: 8 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3193, allocations: 3.938 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3193, allocations: 0 / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3196, allocations: 63.89 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3196, allocations: 0 / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3198, allocations: 35.67 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3198, allocations: 4 kB / 1.218 GB, free: 14.91 MB / 0.9825 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.643e-05/0.3199, allocations: 129.9 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.32, allocations: 11.89 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.3204, allocations: 182.8 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3205, allocations: 0 / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3205, allocations: 3.984 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3205, allocations: 7.984 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3207, allocations: 221.4 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3207, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.3209, allocations: 31.97 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3209, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3209, allocations: 3.938 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3209, allocations: 4 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3209, allocations: 0 / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.3214, allocations: 259.2 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.3215, allocations: 96.91 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3215, allocations: 3.938 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3216, allocations: 19.97 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3217, allocations: 7.984 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3217, allocations: 8 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.807e-05/0.3218, allocations: 124.9 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3218, allocations: 0 / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003365/0.3221, allocations: 64.31 kB / 1.219 GB, free: 13.66 MB / 0.9825 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.0009056/0.323, allocations: 0.8378 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005153/0.3236, allocations: 171.9 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3236, allocations: 0 / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.3238, allocations: 75.83 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3242, allocations: 30.08 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3267, allocations: 1.957 MB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.327, allocations: 0.7045 MB / 1.223 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.159e-05/0.3271, allocations: 19.39 kB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.3271, allocations: 39.42 kB / 1.223 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3272, allocations: 0 / 1.223 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.3483, allocations: 4.341 MB / 1.227 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.792, allocations: 15.67 kB / 1.227 GB, free: 5.488 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > 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