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.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.001203/0.001203, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001325/0.001325, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9354/0.9354, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.579e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006359/0.006385, allocations: 4.418 MB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.007444, allocations: 0.7631 MB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.007528, allocations: 0 / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.007726, allocations: 23.78 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.007794, allocations: 43.58 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.008393, allocations: 179.3 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.008601, allocations: 183.3 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.008993, allocations: 9.297 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.009295, allocations: 107.7 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.009375, allocations: 67.84 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.009396, allocations: 12 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.009642, allocations: 135.7 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.009669, allocations: 31.91 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.009717, allocations: 51.89 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.01003, allocations: 263.2 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01003, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.834e-06/0.01003, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.01004, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 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.000661/0.0107, allocations: 407.5 kB / 1.006 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.01075, allocations: 20.62 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.01078, allocations: 42.73 kB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.01082, allocations: 16.84 kB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.01093, allocations: 127.4 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.01094, allocations: 8.375 kB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.01096, allocations: 16.12 kB / 1.006 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.0112, allocations: 119.5 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01121, allocations: 0 / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.01122, allocations: 0 / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.01122, allocations: 0 / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.01146, allocations: 151.8 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.01214, allocations: 403.7 kB / 1.007 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.01233, allocations: 122.5 kB / 1.007 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01244, allocations: 60.81 kB / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/0.01313, allocations: 480 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.01315, allocations: 30.56 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.01315, allocations: 4 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0004293/0.01358, allocations: 209.4 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.01362, allocations: 55.41 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.01374, allocations: 171.2 kB / 1.008 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.01376, allocations: 29.7 kB / 1.008 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.01382, allocations: 104.5 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.01384, allocations: 47.62 kB / 1.008 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.0139, allocations: 49.69 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01401, allocations: 326.8 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.01414, allocations: 75.83 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.01429, allocations: 119.3 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.01454, allocations: 173.5 kB / 1.009 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.01454, allocations: 4 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003378/0.01488, allocations: 241.3 kB / 1.009 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.0149, allocations: 7.938 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01491, allocations: 4 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01492, allocations: 3.938 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.0151, allocations: 55.91 kB / 1.009 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01511, allocations: 4 kB / 1.009 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.01519, allocations: 39.75 kB / 1.009 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.01521, allocations: 4 kB / 1.009 GB, free: 3.289 MB / 0.9636 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 8.351e-05/0.0153, allocations: 129.8 kB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.01532, allocations: 7.953 kB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.01562, allocations: 179.4 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01562, allocations: 0 / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01562, allocations: 0 / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01563, allocations: 0 / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.01578, allocations: 176.6 kB / 1.01 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01579, allocations: 4 kB / 1.01 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.474e-05/0.01587, allocations: 35.91 kB / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01587, allocations: 0 / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01588, allocations: 7.938 kB / 1.01 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01589, allocations: 7.938 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01589, allocations: 3.984 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.01615, allocations: 247.4 kB / 1.01 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.01619, allocations: 27.94 kB / 1.01 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.01621, allocations: 3.938 kB / 1.01 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.01627, allocations: 19.97 kB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.01631, allocations: 7.984 kB / 1.01 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.01632, allocations: 0 / 1.01 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.01638, allocations: 116 kB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01638, allocations: 3.938 kB / 1.01 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002666/0.01665, allocations: 63.88 kB / 1.01 GB, free: 2.195 MB / 0.9636 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.0006523/0.0173, allocations: 0.8487 MB / 1.011 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.01763, allocations: 167.6 kB / 1.011 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01763, allocations: 0 / 1.011 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01773, allocations: 63.89 kB / 1.011 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.01807, allocations: 36.11 kB / 1.011 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.01999, allocations: 1.942 MB / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.548e-05/0.02006, allocations: 89.81 kB / 1.013 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.474e-05/0.02013, allocations: 25.61 kB / 1.013 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.0202, allocations: 36.48 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of SimCode: time 9.82e-07/0.0202, allocations: 0 / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.04635, allocations: 5.089 MB / 1.018 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.315, allocations: 13.41 kB / 1.018 GB, free: 9.918 MB / 0.9792 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.648618404753506]