Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001754/0.001754, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00239/0.00239, allocations: 216.1 kB / 22.25 MB, free: 5.082 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.084/3.084, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_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.001972/0.001972, allocations: 64.77 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006487/0.3143, allocations: 4.712 MB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3154, allocations: 0.8295 MB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.3154, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.3156, allocations: 35.77 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.3157, allocations: 35.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.3162, allocations: 171.4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3164, allocations: 171.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3166, allocations: 17.56 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3168, allocations: 95.62 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3169, allocations: 75.72 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3169, allocations: 12 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.3174, allocations: 155.8 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.3174, allocations: 31.89 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.3175, allocations: 67.66 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.318, allocations: 243.1 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.318, allocations: 3.938 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.318, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.318, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 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.0009128/0.3189, allocations: 405.5 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.319, allocations: 8.031 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.319, allocations: 42.69 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.3191, allocations: 16.84 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3192, allocations: 124.2 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3192, allocations: 16.36 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3192, allocations: 8.375 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.3196, allocations: 127 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3196, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3196, allocations: 11.94 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3196, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.32, allocations: 147.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.321, allocations: 439.5 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.3213, allocations: 110.5 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.3215, allocations: 64.81 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.3227, allocations: 0.5002 MB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3227, allocations: 30.56 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3227, allocations: 0 / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007053/0.3234, allocations: 217.4 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3235, allocations: 55.39 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3236, allocations: 155.3 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3237, allocations: 33.7 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3237, allocations: 108.4 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3238, allocations: 39.64 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.3239, allocations: 49.7 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.324, allocations: 322.8 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3242, allocations: 83.88 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.3245, allocations: 109.1 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.3249, allocations: 173.3 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3249, allocations: 0 / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005808/0.3255, allocations: 246.9 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3255, allocations: 4 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3255, allocations: 11.94 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3255, allocations: 0 / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.3258, allocations: 55.89 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3258, allocations: 4 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.326, allocations: 31.83 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.326, allocations: 8 kB / 1.336 GB, free: 7.328 MB / 1.029 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.0001163/0.3261, allocations: 134.3 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3262, allocations: 15.89 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.3267, allocations: 178.8 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3267, allocations: 4 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3267, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3267, allocations: 4 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.3269, allocations: 180.7 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3269, allocations: 0 / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3271, allocations: 39.91 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3271, allocations: 0 / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3271, allocations: 3.938 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3271, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3271, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.3276, allocations: 259.3 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.3277, allocations: 27.83 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3277, allocations: 3.938 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3278, allocations: 15.97 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.3279, allocations: 11.98 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3279, allocations: 4 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001031/0.328, allocations: 124.9 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.328, allocations: 0 / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003652/0.3284, allocations: 59.81 kB / 1.337 GB, free: 6.207 MB / 1.029 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.00103/0.3294, allocations: 0.8416 MB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005343/0.3299, allocations: 167.8 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3299, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3301, allocations: 64 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3305, allocations: 29.73 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.3333, allocations: 1.951 MB / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3336, allocations: 0.7045 MB / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.909e-05/0.3337, allocations: 13.08 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.3338, allocations: 43.42 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3338, allocations: 4 kB / 1.341 GB, free: 2.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3662, allocations: 4.455 MB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.96, allocations: 2.25 kB / 1.345 GB, free: 13.95 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.523707170001217]