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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007561/0.007562, allocations: 99.77 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 193.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.7959, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006185/0.8022, allocations: 4.58 MB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.8034, allocations: 0.8333 MB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.8034, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.8037, allocations: 27.77 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.8038, allocations: 35.7 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.8043, allocations: 167.4 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.8045, allocations: 175.4 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.8046, allocations: 17.11 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.8048, allocations: 83.69 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.8049, allocations: 75.69 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.805, allocations: 12 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.8053, allocations: 159.8 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.8054, allocations: 31.91 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.8054, allocations: 63.72 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.8058, allocations: 235.3 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8058, allocations: 0 / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8058, allocations: 0 / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8059, allocations: 0 / 1.227 GB, free: 11.74 MB / 0.9512 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.0008866/0.8068, allocations: 490.5 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8068, allocations: 8.031 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.8069, allocations: 46.67 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.8069, allocations: 12.84 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.8071, allocations: 180.2 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.8071, allocations: 12.38 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.8071, allocations: 12.38 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.8075, allocations: 125.5 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8075, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8075, allocations: 4 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8075, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.8079, allocations: 147.8 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009661/0.8089, allocations: 464.5 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.8092, allocations: 126.5 kB / 1.228 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.8094, allocations: 68.81 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.8108, allocations: 0.9682 MB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.8109, allocations: 34.56 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.8109, allocations: 3.938 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007074/0.8116, allocations: 209.7 kB / 1.229 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.8117, allocations: 55.41 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.8118, allocations: 171.2 kB / 1.23 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.8118, allocations: 29.7 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.8119, allocations: 108.5 kB / 1.23 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.812, allocations: 39.64 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.8121, allocations: 49.7 kB / 1.23 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8122, allocations: 322.8 kB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.8124, allocations: 87.81 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.8127, allocations: 111.4 kB / 1.23 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.8131, allocations: 169.9 kB / 1.23 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8131, allocations: 0 / 1.23 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005786/0.8137, allocations: 249.3 kB / 1.231 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8138, allocations: 5.875 kB / 1.231 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8138, allocations: 7.938 kB / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8138, allocations: 0 / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.8141, allocations: 55.91 kB / 1.231 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8141, allocations: 4 kB / 1.231 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.8142, allocations: 35.8 kB / 1.231 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.8143, allocations: 4 kB / 1.231 GB, free: 7 MB / 0.9512 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.0001088/0.8144, allocations: 129.9 kB / 1.231 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.8144, allocations: 11.91 kB / 1.231 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.8149, allocations: 175 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.815, allocations: 7.984 kB / 1.231 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.815, allocations: 4 kB / 1.231 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.815, allocations: 4 kB / 1.231 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.8152, allocations: 225.4 kB / 1.231 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8152, allocations: 0 / 1.231 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.8154, allocations: 35.91 kB / 1.231 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8154, allocations: 3.938 kB / 1.231 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8154, allocations: 3.938 kB / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8154, allocations: 0 / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8155, allocations: 0 / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.8159, allocations: 255.4 kB / 1.232 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.816, allocations: 101 kB / 1.232 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.816, allocations: 3.938 kB / 1.232 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.8162, allocations: 11.98 kB / 1.232 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.8162, allocations: 11.98 kB / 1.232 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.8162, allocations: 4 kB / 1.232 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.012e-05/0.8163, allocations: 120 kB / 1.232 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8164, allocations: 3.938 kB / 1.232 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000353/0.8167, allocations: 59.86 kB / 1.232 GB, free: 5.754 MB / 0.9512 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.0009615/0.8177, allocations: 0.8454 MB / 1.233 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.8182, allocations: 177.5 kB / 1.233 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8182, allocations: 0 / 1.233 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.8184, allocations: 63.95 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.8188, allocations: 26.61 kB / 1.233 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.8215, allocations: 1.953 MB / 1.235 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.8218, allocations: 0.7007 MB / 1.236 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.794e-05/0.8219, allocations: 28.94 kB / 1.236 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/0.822, allocations: 35.42 kB / 1.236 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of SimCode: time 1.212e-06/0.822, allocations: 4 kB / 1.236 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.8491, allocations: 4.28 MB / 1.24 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/9.057, allocations: 6.312 kB / 1.24 GB, free: 13.66 MB / 0.9669 GB (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 50 --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) 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) Reference file matches