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.001538/0.001538, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 67.3 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.321, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006332/0.3273, allocations: 4.592 MB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3285, allocations: 0.8139 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3286, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3288, allocations: 31.77 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.3289, allocations: 35.64 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.3295, allocations: 171.4 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3298, allocations: 171.4 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3299, allocations: 21.11 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.3301, allocations: 75.77 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3303, allocations: 83.66 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.3303, allocations: 12 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.3307, allocations: 159.7 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.3307, allocations: 35.89 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.3308, allocations: 71.66 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.3312, allocations: 239.6 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3312, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3312, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.3312, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 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.0008437/0.3321, allocations: 482.8 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3321, allocations: 12.03 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.3321, allocations: 34.75 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.3322, allocations: 12.84 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3323, allocations: 186.6 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3324, allocations: 8.375 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3324, allocations: 12.38 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3327, allocations: 118.9 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3327, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3327, allocations: 8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3328, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.3332, allocations: 139.9 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009447/0.3341, allocations: 464.4 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.3344, allocations: 126.5 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.3346, allocations: 72.81 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.3359, allocations: 0.9722 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.336, allocations: 30.56 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.336, allocations: 0 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006649/0.3367, allocations: 209.4 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3367, allocations: 55.41 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3369, allocations: 171.2 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3369, allocations: 33.7 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.337, allocations: 108.4 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.337, allocations: 35.45 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.3371, allocations: 49.7 kB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.3372, allocations: 318.8 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3374, allocations: 79.88 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3376, allocations: 113.1 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.3381, allocations: 171.3 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3381, allocations: 4 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005516/0.3386, allocations: 247.8 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3387, allocations: 4 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3387, allocations: 3.938 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3387, allocations: 4 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.339, allocations: 60.05 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.339, allocations: 11.88 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3392, allocations: 23.77 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3392, allocations: 12 kB / 1.074 GB, free: 3.266 MB / 0.8262 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.486e-05/0.3393, allocations: 122.4 kB / 1.074 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.3393, allocations: 11.81 kB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.3398, allocations: 187.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3398, allocations: 3.984 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3398, allocations: 0 / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3399, allocations: 7.984 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3401, allocations: 217.5 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3401, allocations: 0 / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3402, allocations: 27.97 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3403, allocations: 4 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3403, allocations: 7.938 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3403, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3403, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.3407, allocations: 251.2 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.3408, allocations: 108.9 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3408, allocations: 3.938 kB / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.341, allocations: 15.97 kB / 1.075 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.341, allocations: 15.92 kB / 1.075 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.341, allocations: 0 / 1.075 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.3411, allocations: 116 kB / 1.075 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3411, allocations: 4 kB / 1.075 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003293/0.3414, allocations: 56.31 kB / 1.075 GB, free: 2.027 MB / 0.8262 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.0008613/0.3423, allocations: 0.8527 MB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.3428, allocations: 163.8 kB / 1.076 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3428, allocations: 192 / 1.076 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.343, allocations: 71.89 kB / 1.076 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3434, allocations: 29.8 kB / 1.076 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3459, allocations: 1.957 MB / 1.078 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3462, allocations: 0.7084 MB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.3463, allocations: 21.02 kB / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.3464, allocations: 37.55 kB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3464, allocations: 0 / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3694, allocations: 4.243 MB / 1.083 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.716, allocations: 5.688 kB / 1.083 GB, free: 9.941 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 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.csv","/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