Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_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.001472/0.001472, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.88 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5666, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006253/0.5729, allocations: 4.577 MB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.574, allocations: 0.8186 MB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.5741, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.5743, allocations: 31.77 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.5744, allocations: 39.7 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.575, allocations: 171.4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.5753, allocations: 171.4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.5754, allocations: 21.11 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.5756, allocations: 79.69 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.5757, allocations: 83.67 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.5758, allocations: 12 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.5761, allocations: 147.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.5762, allocations: 35.89 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.5763, allocations: 71.66 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.5766, allocations: 229.7 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5766, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5766, allocations: 0 / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.5767, allocations: 0 / 1.024 GB, free: 12 MB / 0.7794 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.0009435/0.5776, allocations: 480.1 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5777, allocations: 15.97 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.5777, allocations: 38.75 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.5778, allocations: 20.73 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.5779, allocations: 189.8 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5779, allocations: 8.375 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.578, allocations: 12.38 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.5784, allocations: 121.5 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5784, allocations: 3.938 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5784, allocations: 11.94 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5784, allocations: 4 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.5788, allocations: 135.9 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.5798, allocations: 464.4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.5801, allocations: 126.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.5804, allocations: 76.81 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.5817, allocations: 0.9606 MB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.5818, allocations: 30.56 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.5818, allocations: 3.938 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006767/0.5825, allocations: 213.3 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5825, allocations: 55.41 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.5827, allocations: 157.2 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5827, allocations: 29.7 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.5828, allocations: 108.3 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.5828, allocations: 51.3 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.5829, allocations: 45.7 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5831, allocations: 322.8 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.5833, allocations: 79.88 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.5836, allocations: 112.7 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.584, allocations: 176.6 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.584, allocations: 0 / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005828/0.5846, allocations: 239.1 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5847, allocations: 13.23 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.5847, allocations: 3.938 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5847, allocations: 4 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.585, allocations: 55.91 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.585, allocations: 4.094 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.5852, allocations: 31.73 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.5852, allocations: 11.98 kB / 1.028 GB, free: 7.27 MB / 0.7794 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.0001077/0.5853, allocations: 121.8 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.5854, allocations: 7.906 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.5859, allocations: 187.2 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5859, allocations: 3.938 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5859, allocations: 0 / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5859, allocations: 0 / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.5861, allocations: 217.5 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5861, allocations: 4 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5863, allocations: 31.91 kB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5863, allocations: 0 / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5863, allocations: 7.938 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5863, allocations: 4 kB / 1.029 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5864, allocations: 0 / 1.029 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.5868, allocations: 251.3 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.5869, allocations: 104.9 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.587, allocations: 11.94 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5871, allocations: 7.984 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.5871, allocations: 11.98 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5872, allocations: 4 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.5873, allocations: 122.2 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5873, allocations: 3.938 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003306/0.5876, allocations: 56.38 kB / 1.029 GB, free: 6.039 MB / 0.7794 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.0009284/0.5885, allocations: 0.8566 MB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.589, allocations: 175.7 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5891, allocations: 4 kB / 1.03 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.5893, allocations: 68.08 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.5896, allocations: 21.11 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.5925, allocations: 1.955 MB / 1.032 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.5928, allocations: 0.7084 MB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.814e-05/0.5929, allocations: 17.45 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.593, allocations: 39.42 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.593, allocations: 0 / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.6143, allocations: 4.24 MB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.932, allocations: 10.41 kB / 1.037 GB, free: 13.95 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches