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.005896/0.005896, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001203/0.001203, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.449/2.449, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005119/0.2794, allocations: 4.579 MB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.2803, allocations: 0.8225 MB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.2804, allocations: 0 / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2806, allocations: 27.77 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.2806, allocations: 31.72 kB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.2811, allocations: 175.3 kB / 1.172 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.2812, allocations: 179.3 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.2813, allocations: 25.09 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2815, allocations: 79.75 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.2816, allocations: 75.73 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2816, allocations: 12 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.2819, allocations: 155.8 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.2819, allocations: 35.84 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.282, allocations: 63.72 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.2823, allocations: 239.4 kB / 1.173 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2823, allocations: 0 / 1.173 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2823, allocations: 4 kB / 1.173 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2823, allocations: 0 / 1.173 GB, free: 0.7656 MB / 0.92 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.0007625/0.2831, allocations: 482.5 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2832, allocations: 12.03 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2832, allocations: 42.73 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2832, allocations: 12.89 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2834, allocations: 188.1 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2834, allocations: 4.375 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2834, allocations: 16.31 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.2837, allocations: 127.4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2837, allocations: 3.938 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2837, allocations: 12 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2838, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.2841, allocations: 143.9 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.285, allocations: 464.5 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.2852, allocations: 130.4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.2854, allocations: 72.81 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.2866, allocations: 0.9606 MB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2866, allocations: 30.56 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2866, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005907/0.2872, allocations: 225.6 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.2873, allocations: 51.41 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2874, allocations: 168.6 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2874, allocations: 33.7 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.2875, allocations: 104.5 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.2875, allocations: 47.56 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.2876, allocations: 49.7 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.2877, allocations: 326.8 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2879, allocations: 75.94 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2881, allocations: 109.5 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2885, allocations: 173.1 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2885, allocations: 0 / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005001/0.289, allocations: 247.1 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.289, allocations: 4 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.289, allocations: 3.938 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2891, allocations: 4 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.2893, allocations: 55.91 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2893, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.2895, allocations: 35.91 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.2895, allocations: 8 kB / 1.177 GB, free: 12.03 MB / 0.9356 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.236e-05/0.2896, allocations: 125.7 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.2896, allocations: 15.91 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.2901, allocations: 182.8 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2901, allocations: 8 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2901, allocations: 0 / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2901, allocations: 0 / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2903, allocations: 217.5 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.2903, allocations: 0 / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.2904, allocations: 27.97 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2904, allocations: 4 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2905, allocations: 3.938 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2905, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2905, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.2909, allocations: 263.3 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.2909, allocations: 101 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.291, allocations: 7.938 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2911, allocations: 15.98 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2911, allocations: 11.98 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.2912, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.2912, allocations: 120 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2912, allocations: 0 / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003099/0.2915, allocations: 67.8 kB / 1.178 GB, free: 10.78 MB / 0.9356 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.0007972/0.2923, allocations: 0.8448 MB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.2928, allocations: 167.8 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2928, allocations: 0 / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.293, allocations: 75.83 kB / 1.179 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2934, allocations: 20.17 kB / 1.179 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2956, allocations: 1.937 MB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.2958, allocations: 0.7122 MB / 1.182 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.77e-05/0.2959, allocations: 24.95 kB / 1.182 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.296, allocations: 35.42 kB / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.296, allocations: 0 / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.3144, allocations: 4.282 MB / 1.186 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.626, allocations: 10.12 kB / 1.186 GB, free: 2.688 MB / 0.9356 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