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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005003/0.005003, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001489/0.001489, allocations: 192.8 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.91 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.279, allocations: 162.2 MB / 1.241 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006337/0.2854, allocations: 4.586 MB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2865, allocations: 0.8139 MB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.2865, allocations: 0 / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.2867, allocations: 31.83 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.2868, allocations: 35.64 kB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.2873, allocations: 171.3 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.2875, allocations: 171.4 kB / 1.247 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.2876, allocations: 21.11 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.2878, allocations: 83.75 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2879, allocations: 79.66 kB / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.288, allocations: 12 kB / 1.247 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.2883, allocations: 151.8 kB / 1.247 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.2884, allocations: 39.89 kB / 1.248 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.337e-05/0.2884, allocations: 67.66 kB / 1.248 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.2888, allocations: 231.2 kB / 1.248 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2888, allocations: 0 / 1.248 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2888, allocations: 7.938 kB / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2888, allocations: 0 / 1.248 GB, free: 3.656 MB / 0.9981 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.0008581/0.2897, allocations: 478.6 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2898, allocations: 12.03 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.2898, allocations: 38.73 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.2898, allocations: 16.89 kB / 1.248 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.29, allocations: 196.1 kB / 1.249 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.29, allocations: 4.375 kB / 1.249 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2901, allocations: 12.38 kB / 1.249 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2904, allocations: 117.5 kB / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2904, allocations: 0 / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2904, allocations: 8 kB / 1.249 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2904, allocations: 0 / 1.249 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.2909, allocations: 151.7 kB / 1.249 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009488/0.2918, allocations: 468.5 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.2921, allocations: 114.5 kB / 1.249 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2924, allocations: 72.81 kB / 1.249 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.2938, allocations: 0.9644 MB / 1.25 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2938, allocations: 34.5 kB / 1.25 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2938, allocations: 0 / 1.25 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0007024/0.2945, allocations: 217.4 kB / 1.251 GB, free: 488 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.2946, allocations: 59.41 kB / 1.251 GB, free: 416 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2947, allocations: 160.9 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2947, allocations: 33.7 kB / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.2948, allocations: 104.5 kB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.2949, allocations: 43.64 kB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4744/0.7693, allocations: 46.48 kB / 1.251 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.7694, allocations: 325.2 kB / 1.251 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.7697, allocations: 74.84 kB / 1.251 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.77, allocations: 110.6 kB / 1.252 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.7705, allocations: 178.1 kB / 1.252 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7705, allocations: 1.438 kB / 1.252 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006165/0.7711, allocations: 239 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7711, allocations: 7.328 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7711, allocations: 2.344 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.7712, allocations: 2.344 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.7714, allocations: 60.08 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7715, allocations: 6.75 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.7716, allocations: 30.39 kB / 1.252 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.7717, allocations: 10.44 kB / 1.252 GB, free: 15.37 MB / 0.9981 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 7.413e-05/0.7717, allocations: 125.2 kB / 1.252 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.7718, allocations: 13.38 kB / 1.252 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.7723, allocations: 187.8 kB / 1.252 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7723, allocations: 1.594 kB / 1.252 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7723, allocations: 4.719 kB / 1.252 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7723, allocations: 1.266 kB / 1.252 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.7725, allocations: 211.7 kB / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.7725, allocations: 0 / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.7727, allocations: 32.88 kB / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7727, allocations: 0.8125 kB / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7727, allocations: 0.7812 kB / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7727, allocations: 6.094 kB / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7727, allocations: 4.844 kB / 1.253 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.7732, allocations: 260.3 kB / 1.253 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.7733, allocations: 102.5 kB / 1.253 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.7733, allocations: 5.438 kB / 1.253 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.7734, allocations: 15.78 kB / 1.253 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.7735, allocations: 15.31 kB / 1.253 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.7735, allocations: 2.406 kB / 1.253 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.7736, allocations: 120.6 kB / 1.253 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7736, allocations: 0 / 1.253 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003468/0.7739, allocations: 63.27 kB / 1.253 GB, free: 14.71 MB / 0.9981 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.0007565/0.7747, allocations: 0.846 MB / 1.254 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.7752, allocations: 175.1 kB / 1.254 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7752, allocations: 0.9375 kB / 1.254 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.7754, allocations: 68.66 kB / 1.254 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.7758, allocations: 29.39 kB / 1.254 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.7782, allocations: 1.967 MB / 1.256 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.7783, allocations: 0.7027 MB / 1.257 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.81e-05/0.7784, allocations: 26.7 kB / 1.257 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.7785, allocations: 34.95 kB / 1.257 GB, free: 12 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.7785, allocations: 0 / 1.257 GB, free: 12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.8042, allocations: 4.275 MB / 1.261 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.326, allocations: 9.609 kB / 1.261 GB, free: 11.45 MB / 0.9981 GB (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 400 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches