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.0009621/0.0009621, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009944/0.0009944, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9226/0.9226, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.488e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004057/0.004072, allocations: 4.422 MB / 0.9549 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.004733, allocations: 0.7554 MB / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.004786, allocations: 0 / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.004944, allocations: 39.7 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/0.004981, allocations: 27.72 kB / 0.9557 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.005475, allocations: 179.2 kB / 0.9558 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.005622, allocations: 187.3 kB / 0.956 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.471e-05/0.005706, allocations: 5.312 kB / 0.956 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.005869, allocations: 111.8 kB / 0.9561 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.005941, allocations: 63.84 kB / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.00596, allocations: 12 kB / 0.9562 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.006192, allocations: 143.7 kB / 0.9563 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.006218, allocations: 35.83 kB / 0.9564 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.006262, allocations: 51.89 kB / 0.9564 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.006537, allocations: 255.2 kB / 0.9567 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006539, allocations: 0 / 0.9567 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.042e-06/0.00654, allocations: 0 / 0.9567 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.006545, allocations: 3.938 kB / 0.9567 GB, free: 13.14 MB / 0.9167 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.0005876/0.007132, allocations: 409.5 kB / 0.9571 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.007169, allocations: 11.97 kB / 0.9571 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.007201, allocations: 42.73 kB / 0.9571 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.007235, allocations: 12.84 kB / 0.9571 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.641e-05/0.007321, allocations: 121.6 kB / 0.9572 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.007333, allocations: 12.31 kB / 0.9572 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.007349, allocations: 12.38 kB / 0.9573 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.00756, allocations: 120.8 kB / 0.9574 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.007567, allocations: 4.188 kB / 0.9574 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.007578, allocations: 3.938 kB / 0.9574 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.007583, allocations: 4 kB / 0.9574 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.00781, allocations: 139.9 kB / 0.9575 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.008426, allocations: 411.7 kB / 0.9579 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.008604, allocations: 114.4 kB / 0.958 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.008705, allocations: 64.81 kB / 0.9581 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.009326, allocations: 480.3 kB / 0.9585 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.009346, allocations: 34.56 kB / 0.9586 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.009347, allocations: 0 / 0.9586 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.000383/0.00973, allocations: 209.4 kB / 0.9588 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.009759, allocations: 59.34 kB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.009868, allocations: 171.2 kB / 0.959 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.009882, allocations: 29.7 kB / 0.959 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.009931, allocations: 104.5 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.009954, allocations: 47.62 kB / 0.9592 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.01001, allocations: 45.7 kB / 0.9592 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.01009, allocations: 330.8 kB / 0.9595 GB, free: 10 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.01021, allocations: 71.94 kB / 0.9596 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01035, allocations: 117.1 kB / 0.9597 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.01058, allocations: 173.5 kB / 0.9599 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01058, allocations: 0 / 0.9599 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003072/0.01089, allocations: 240.8 kB / 0.9601 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.0109, allocations: 8 kB / 0.9601 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01091, allocations: 3.984 kB / 0.9601 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01092, allocations: 4 kB / 0.9601 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01106, allocations: 55.91 kB / 0.9602 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01107, allocations: 3.938 kB / 0.9602 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.01114, allocations: 31.91 kB / 0.9602 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.01116, allocations: 15.98 kB / 0.9602 GB, free: 9.266 MB / 0.9167 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 7.918e-05/0.01124, allocations: 121.8 kB / 0.9603 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.01126, allocations: 11.91 kB / 0.9603 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.01158, allocations: 183.3 kB / 0.9605 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01158, allocations: 0 / 0.9605 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01159, allocations: 3.938 kB / 0.9605 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01159, allocations: 8 kB / 0.9605 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01172, allocations: 180.6 kB / 0.9607 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01172, allocations: 0 / 0.9607 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.01179, allocations: 23.98 kB / 0.9607 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-06/0.01179, allocations: 7.984 kB / 0.9607 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.0118, allocations: 4 kB / 0.9607 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0118, allocations: 0 / 0.9607 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01181, allocations: 3.938 kB / 0.9607 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.01204, allocations: 259.4 kB / 0.961 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.01207, allocations: 23.88 kB / 0.961 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.01209, allocations: 0 / 0.961 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.01215, allocations: 19.92 kB / 0.961 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.01219, allocations: 15.91 kB / 0.961 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.01219, allocations: 4 kB / 0.961 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.01224, allocations: 116 kB / 0.9612 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01224, allocations: 0 / 0.9612 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002152/0.01246, allocations: 63.88 kB / 0.9612 GB, free: 8.16 MB / 0.9167 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.0005484/0.01301, allocations: 0.8516 MB / 0.9621 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.01327, allocations: 151.8 kB / 0.9622 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01328, allocations: 0 / 0.9622 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.01337, allocations: 64.08 kB / 0.9623 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.0136, allocations: 37.97 kB / 0.9623 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.01523, allocations: 1.969 MB / 0.9642 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.01528, allocations: 85.81 kB / 0.9643 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01534, allocations: 21.56 kB / 0.9643 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.0154, allocations: 40.48 kB / 0.9644 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.0154, allocations: 0 / 0.9644 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.03212, allocations: 5.081 MB / 0.9693 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.003, allocations: 10.8 kB / 0.9693 GB, free: 15.89 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.11914187669754]