Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 108.3 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 200.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7635 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.91 kB / 1.108 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9164/0.9184, allocations: 168.7 MB / 1.272 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007101/0.9255, allocations: 4.638 MB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.9269, allocations: 0.8293 MB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.927, allocations: 0 / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.9272, allocations: 35.77 kB / 1.278 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.9273, allocations: 31.7 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.9278, allocations: 175.4 kB / 1.278 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.9281, allocations: 171.4 kB / 1.278 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.9282, allocations: 17.09 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.9284, allocations: 75.7 kB / 1.278 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.9285, allocations: 87.66 kB / 1.278 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.9285, allocations: 16 kB / 1.278 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.9289, allocations: 151.8 kB / 1.278 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.929, allocations: 35.91 kB / 1.279 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.255e-05/0.9291, allocations: 63.72 kB / 1.279 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.9295, allocations: 245 kB / 1.279 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9295, allocations: 0 / 1.279 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9295, allocations: 0 / 1.279 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9295, allocations: 0 / 1.279 GB, free: 13.85 MB / 0.9825 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.0009456/0.9304, allocations: 490.5 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9305, allocations: 12.03 kB / 1.279 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.9305, allocations: 38.69 kB / 1.279 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.9306, allocations: 16.84 kB / 1.279 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.9308, allocations: 181.7 kB / 1.28 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.9308, allocations: 8.375 kB / 1.28 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.9308, allocations: 12.38 kB / 1.28 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.9312, allocations: 121.5 kB / 1.28 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.9312, allocations: 0 / 1.28 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.9312, allocations: 8 kB / 1.28 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9312, allocations: 0 / 1.28 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.9316, allocations: 143.8 kB / 1.28 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.9326, allocations: 468.5 kB / 1.28 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.9329, allocations: 114 kB / 1.28 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.9331, allocations: 64.81 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.9346, allocations: 0.9682 MB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.9346, allocations: 42.5 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 2.073e-06/0.9346, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0007022/0.9353, allocations: 205.4 kB / 1.282 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.9354, allocations: 55.41 kB / 1.282 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.9355, allocations: 175.2 kB / 1.282 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.9356, allocations: 25.7 kB / 1.282 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9357, allocations: 112.5 kB / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.9357, allocations: 43.64 kB / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.9358, allocations: 49.64 kB / 1.282 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9359, allocations: 322.8 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.9362, allocations: 79.88 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.9364, allocations: 107.4 kB / 1.283 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.9369, allocations: 181.7 kB / 1.283 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9369, allocations: 0 / 1.283 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006049/0.9375, allocations: 241.3 kB / 1.283 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.9375, allocations: 4 kB / 1.283 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.9375, allocations: 8.031 kB / 1.283 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.9375, allocations: 4 kB / 1.283 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.9378, allocations: 55.89 kB / 1.283 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9378, allocations: 0 / 1.283 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.938, allocations: 35.8 kB / 1.283 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.938, allocations: 8 kB / 1.283 GB, free: 9.129 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 0.0001166/0.9381, allocations: 128.4 kB / 1.283 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.9381, allocations: 19.89 kB / 1.283 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.9387, allocations: 170.9 kB / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9387, allocations: 0 / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9387, allocations: 3.984 kB / 1.283 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9387, allocations: 3.938 kB / 1.283 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.9389, allocations: 225.5 kB / 1.284 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9389, allocations: 0 / 1.284 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.9391, allocations: 35.91 kB / 1.284 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9391, allocations: 3.938 kB / 1.284 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.9391, allocations: 11.94 kB / 1.284 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.9391, allocations: 3.984 kB / 1.284 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9391, allocations: 0 / 1.284 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.9396, allocations: 247.4 kB / 1.284 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.9397, allocations: 97 kB / 1.284 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.9398, allocations: 11.94 kB / 1.284 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.9399, allocations: 11.97 kB / 1.284 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.9399, allocations: 11.98 kB / 1.284 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.9399, allocations: 4 kB / 1.284 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.94, allocations: 115.9 kB / 1.284 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.94, allocations: 0 / 1.284 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003649/0.9404, allocations: 71.81 kB / 1.284 GB, free: 7.875 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.001077/0.9415, allocations: 0.846 MB / 1.285 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.942, allocations: 170.6 kB / 1.285 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.942, allocations: 0 / 1.285 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.9422, allocations: 63.89 kB / 1.285 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.9426, allocations: 22.17 kB / 1.285 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.9457, allocations: 1.97 MB / 1.287 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.946, allocations: 0.7006 MB / 1.288 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.9461, allocations: 21.02 kB / 1.288 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.9462, allocations: 35.42 kB / 1.288 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of SimCode: time 1.603e-06/0.9462, allocations: 0 / 1.288 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.9759, allocations: 4.27 MB / 1.292 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/9.075, allocations: 16.11 kB / 1.292 GB, free: 15.74 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.332605362054892]