Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_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.00563/0.00563, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001291/0.001291, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7524, allocations: 140.4 MB / 1.088 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00534/0.7578, allocations: 4.585 MB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.7588, allocations: 0.8211 MB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.7589, allocations: 0.6875 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.7591, allocations: 41.97 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.7592, allocations: 32.28 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.7597, allocations: 170.9 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.7599, allocations: 172 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.76, allocations: 20.34 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.7602, allocations: 80.95 kB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.7603, allocations: 83.72 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.7603, allocations: 13.12 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.7607, allocations: 149.9 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.7608, allocations: 27.91 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.7609, allocations: 71.98 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.7613, allocations: 249.9 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7613, allocations: 0.6875 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7613, allocations: 0.7969 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7613, allocations: 0 / 1.094 GB, free: 0.9375 MB / 0.8575 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.0008228/0.7621, allocations: 492.3 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7622, allocations: 8.938 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.7622, allocations: 39.02 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.7623, allocations: 15.66 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.7624, allocations: 180.6 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.7624, allocations: 16.8 kB / 1.095 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.7624, allocations: 11.47 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.7628, allocations: 114.3 kB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7628, allocations: 4 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.7628, allocations: 1.828 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7628, allocations: 1.469 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.7632, allocations: 138.8 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.7643, allocations: 465.8 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.7646, allocations: 126.7 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.7648, allocations: 72.59 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/0.7663, allocations: 0.9684 MB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.7664, allocations: 32.17 kB / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.7664, allocations: 0 / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0007271/0.7671, allocations: 213.2 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.7672, allocations: 53.77 kB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.7673, allocations: 169.7 kB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.7674, allocations: 27.14 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.7674, allocations: 113 kB / 1.097 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.7675, allocations: 43.62 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.7676, allocations: 49.61 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7677, allocations: 322.1 kB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.768, allocations: 75.27 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.7682, allocations: 108.2 kB / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.7687, allocations: 169.7 kB / 1.098 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7687, allocations: 4.516 kB / 1.098 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006265/0.7693, allocations: 252.3 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7694, allocations: 5.781 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.7694, allocations: 1.25 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7694, allocations: 6.656 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.7697, allocations: 54.31 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7697, allocations: 2.766 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.7699, allocations: 31.3 kB / 1.098 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.7699, allocations: 14.89 kB / 1.098 GB, free: 13.65 MB / 0.8731 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 9.991e-05/0.77, allocations: 123.9 kB / 1.098 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.7701, allocations: 17.62 kB / 1.098 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.7706, allocations: 180.2 kB / 1.098 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7706, allocations: 6.5 kB / 1.098 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7706, allocations: 0 / 1.098 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7707, allocations: 5.391 kB / 1.098 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.7709, allocations: 218.4 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.771, allocations: 4.641 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.7711, allocations: 32.39 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7711, allocations: 1.281 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.7712, allocations: 9.25 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7712, allocations: 1.062 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7712, allocations: 1.125 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.7717, allocations: 249.9 kB / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.7717, allocations: 102.3 kB / 1.099 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.7718, allocations: 9.359 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.7719, allocations: 11.78 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.772, allocations: 12.62 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.772, allocations: 1.969 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.931e-05/0.7721, allocations: 113 kB / 1.099 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7721, allocations: 0 / 1.099 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000385/0.7725, allocations: 62.7 kB / 1.099 GB, free: 12.81 MB / 0.8731 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.0009611/0.7735, allocations: 0.8581 MB / 1.1 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.774, allocations: 171.3 kB / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.774, allocations: 0 / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.7742, allocations: 71.81 kB / 1.1 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.7746, allocations: 28.8 kB / 1.1 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.7773, allocations: 1.94 MB / 1.102 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.7776, allocations: 0.7042 MB / 1.103 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.7777, allocations: 20.03 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.7778, allocations: 43.47 kB / 1.103 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.7778, allocations: 0 / 1.103 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.7995, allocations: 4.28 MB / 1.107 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/8.196, allocations: 6.812 kB / 1.107 GB, free: 9.191 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches