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.00955/0.00955, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.002289/0.002289, allocations: 195.7 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 2.376/2.376, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 4.308/4.308, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4554, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.009014/0.4645, allocations: 4.579 MB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.4662, allocations: 0.8186 MB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.4663, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.4667, allocations: 27.77 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.4668, allocations: 27.72 kB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.4676, allocations: 175.3 kB / 1.172 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.4679, allocations: 183.3 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.468, allocations: 17.11 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.4683, allocations: 79.75 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4685, allocations: 71.73 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.4685, allocations: 12 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.469, allocations: 171.7 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.4691, allocations: 31.84 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4692, allocations: 67.7 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.4697, allocations: 239.5 kB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4697, allocations: 0 / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4697, allocations: 0 / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4698, allocations: 0 / 1.173 GB, free: 0.7617 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.001223/0.471, allocations: 490.5 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4711, allocations: 8.031 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.4711, allocations: 38.75 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.4712, allocations: 8.891 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4715, allocations: 194.2 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4715, allocations: 12.31 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4715, allocations: 12.38 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.472, allocations: 129.5 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.472, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4721, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4721, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.4727, allocations: 139.9 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4741, allocations: 472.4 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.4745, allocations: 130.5 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.4748, allocations: 64.81 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.4768, allocations: 0.9566 MB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.4769, allocations: 46.55 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/0.4769, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.001004/0.4779, allocations: 217.2 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.478, allocations: 51.41 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.4782, allocations: 179.9 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.4783, allocations: 25.7 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4784, allocations: 104.5 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.4785, allocations: 51.56 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4786, allocations: 49.7 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4788, allocations: 322.8 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.4791, allocations: 75.94 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.4795, allocations: 109.6 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.4801, allocations: 168.7 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4802, allocations: 0 / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008652/0.481, allocations: 245.3 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4811, allocations: 4 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4811, allocations: 8.031 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4811, allocations: 4 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.4815, allocations: 55.89 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.4816, allocations: 7.984 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.4818, allocations: 35.77 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.4819, allocations: 7.938 kB / 1.177 GB, free: 12.02 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 0.0001467/0.482, allocations: 125.8 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.4821, allocations: 11.91 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.4828, allocations: 178.9 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4829, allocations: 4 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4829, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4829, allocations: 3.984 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.4832, allocations: 213.5 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4833, allocations: 0 / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.4835, allocations: 39.97 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4835, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4835, allocations: 7.938 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4836, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4836, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.4842, allocations: 259.3 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4844, allocations: 97 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.4844, allocations: 7.938 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.4846, allocations: 15.97 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.4847, allocations: 4 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4847, allocations: 11.98 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001262/0.4849, allocations: 108 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4849, allocations: 0 / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005428/0.4854, allocations: 71.8 kB / 1.178 GB, free: 10.79 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.00136/0.4868, allocations: 0.8526 MB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007562/0.4876, allocations: 178.4 kB / 1.179 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.4876, allocations: 0 / 1.179 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.4879, allocations: 72.59 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.4884, allocations: 25.48 kB / 1.179 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.4922, allocations: 1.942 MB / 1.181 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.4926, allocations: 0.7006 MB / 1.182 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.4928, allocations: 20.58 kB / 1.182 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4929, allocations: 39.42 kB / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.4929, allocations: 0 / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.5326, allocations: 4.278 MB / 1.186 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.42, allocations: 6.703 kB / 1.186 GB, free: 2.691 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