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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7707 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 66.78 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3335, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006807/0.3403, allocations: 4.698 MB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3415, allocations: 0.8295 MB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.3416, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3418, allocations: 35.77 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.3419, allocations: 31.66 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.3425, allocations: 171.4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3427, allocations: 183.4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.3428, allocations: 13.31 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.343, allocations: 91.69 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3431, allocations: 75.73 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.3431, allocations: 12 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.3435, allocations: 159.7 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.3435, allocations: 31.91 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.3436, allocations: 71.64 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.344, allocations: 235.5 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.344, allocations: 4 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.344, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.344, allocations: 0 / 1.29 GB, free: 5.02 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.0009093/0.3449, allocations: 409.4 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.345, allocations: 8.031 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.345, allocations: 42.75 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.3451, allocations: 12.84 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3452, allocations: 130.4 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3452, allocations: 12.36 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3453, allocations: 8.375 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.3456, allocations: 127.6 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3456, allocations: 0 / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3456, allocations: 7.938 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3456, allocations: 4 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.346, allocations: 147.8 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.347, allocations: 443.5 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3473, allocations: 110.5 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3475, allocations: 60.81 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.3487, allocations: 0.4922 MB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3488, allocations: 34.5 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.3488, allocations: 0 / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006935/0.3495, allocations: 225.3 kB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3495, allocations: 51.41 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3497, allocations: 160 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3497, allocations: 33.7 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.3498, allocations: 108.4 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3498, allocations: 43.62 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.3499, allocations: 53.64 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.35, allocations: 326.8 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3502, allocations: 75.94 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3505, allocations: 108.4 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.3509, allocations: 178.4 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3509, allocations: 0 / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000565/0.3515, allocations: 247.5 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3515, allocations: 7.984 kB / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3515, allocations: 3.938 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3515, allocations: 4 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.3518, allocations: 55.91 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3518, allocations: 4 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.352, allocations: 31.92 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.352, allocations: 11.98 kB / 1.293 GB, free: 1.074 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.0001347/0.3521, allocations: 121.8 kB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.3522, allocations: 11.95 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.3527, allocations: 186.7 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3527, allocations: 4 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3527, allocations: 4 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3527, allocations: 0 / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3529, allocations: 180.7 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3529, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3531, allocations: 31.91 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3531, allocations: 4 kB / 1.294 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3531, allocations: 3.938 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3531, allocations: 0 / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3531, allocations: 0 / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.3535, allocations: 263.3 kB / 1.294 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3536, allocations: 27.81 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3536, allocations: 3.938 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3538, allocations: 15.98 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3538, allocations: 11.98 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3538, allocations: 0 / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.3539, allocations: 120 kB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 0 / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003677/0.3543, allocations: 63.86 kB / 1.294 GB, free: 15.96 MB / 0.9981 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.0009388/0.3552, allocations: 0.8487 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.3557, allocations: 160.5 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3557, allocations: 0 / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3559, allocations: 63.89 kB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3563, allocations: 41.86 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.3589, allocations: 1.956 MB / 1.297 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3592, allocations: 0.7122 MB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.493e-05/0.3593, allocations: 17.03 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.3594, allocations: 35.42 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3594, allocations: 0 / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.391, allocations: 4.44 MB / 1.303 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.05, allocations: 7.844 kB / 1.303 GB, free: 7.711 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 17.782902759001445]