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.001205/0.001205, 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.001154/0.001154, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.387/2.387, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.631, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004917/0.6359, allocations: 4.574 MB / 0.9542 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.6368, allocations: 0.8107 MB / 0.955 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.6368, allocations: 0 / 0.955 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.637, allocations: 29.47 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.6371, allocations: 40.06 kB / 0.9551 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.6375, allocations: 174 kB / 0.9552 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.6377, allocations: 172.1 kB / 0.9554 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.6378, allocations: 25.5 kB / 0.9554 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.6379, allocations: 76.06 kB / 0.9555 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.638, allocations: 84.41 kB / 0.9556 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.6381, allocations: 13.78 kB / 0.9556 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.6384, allocations: 157 kB / 0.9557 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.6385, allocations: 36.2 kB / 0.9558 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.6385, allocations: 60.77 kB / 0.9558 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.6388, allocations: 237.4 kB / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6388, allocations: 0 / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6389, allocations: 0 / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.6389, allocations: 3.938 kB / 0.956 GB, free: 4.129 MB / 0.7169 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.0007786/0.6397, allocations: 487 kB / 0.9565 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6397, allocations: 8 kB / 0.9565 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.6397, allocations: 42.42 kB / 0.9566 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.6398, allocations: 14.5 kB / 0.9566 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.6399, allocations: 192.8 kB / 0.9568 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6399, allocations: 7.625 kB / 0.9568 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.6399, allocations: 19.03 kB / 0.9568 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.6402, allocations: 116.9 kB / 0.9569 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.6403, allocations: 0 / 0.9569 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6403, allocations: 5.938 kB / 0.9569 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6403, allocations: 1.25 kB / 0.9569 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.6407, allocations: 143.8 kB / 0.957 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.6416, allocations: 471.1 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.6418, allocations: 116.9 kB / 0.9576 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.642, allocations: 71.19 kB / 0.9577 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.6431, allocations: 0.9608 MB / 0.9586 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.6432, allocations: 36.12 kB / 0.9586 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.6432, allocations: 0 / 0.9586 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006543/0.6438, allocations: 213.5 kB / 0.9588 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.6439, allocations: 57.62 kB / 0.9589 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.644, allocations: 165.6 kB / 0.9591 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.644, allocations: 31.14 kB / 0.9591 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.6441, allocations: 108.4 kB / 0.9592 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6441, allocations: 36.58 kB / 0.9592 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.6442, allocations: 56.25 kB / 0.9593 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.6442, allocations: 326.2 kB / 0.9596 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.6445, allocations: 71.58 kB / 0.9597 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.6447, allocations: 117.2 kB / 0.9598 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.6451, allocations: 175.5 kB / 0.9599 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.6451, allocations: 1.094 kB / 0.9599 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005171/0.6456, allocations: 249.1 kB / 0.9602 GB, free: 480 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6457, allocations: 5.5 kB / 0.9602 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6457, allocations: 1.375 kB / 0.9602 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6457, allocations: 1.375 kB / 0.9602 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.6459, allocations: 53.22 kB / 0.9602 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.646, allocations: 9.297 kB / 0.9602 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.6461, allocations: 30.73 kB / 0.9603 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.6461, allocations: 10.88 kB / 0.9603 GB, free: 436 kB / 0.7169 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 6.383e-05/0.6462, allocations: 127.4 kB / 0.9604 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.6463, allocations: 12.78 kB / 0.9604 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.6467, allocations: 184.9 kB / 0.9606 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6467, allocations: 1.094 kB / 0.9606 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6467, allocations: 1.156 kB / 0.9606 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6467, allocations: 4 kB / 0.9606 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.6469, allocations: 217.6 kB / 0.9608 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.647, allocations: 5.078 kB / 0.9608 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.6471, allocations: 29.8 kB / 0.9608 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6471, allocations: 0 / 0.9608 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6471, allocations: 1.438 kB / 0.9608 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6471, allocations: 1.375 kB / 0.9608 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6472, allocations: 0 / 0.9608 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.6476, allocations: 263.8 kB / 0.9611 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.6477, allocations: 110.2 kB / 0.9612 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.6477, allocations: 1.094 kB / 0.9612 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.6479, allocations: 15.3 kB / 0.9612 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.6479, allocations: 8.547 kB / 0.9612 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.6479, allocations: 6.094 kB / 0.9612 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.648, allocations: 116 kB / 0.9613 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.648, allocations: 1.125 kB / 0.9613 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003252/0.6483, allocations: 60.92 kB / 0.9614 GB, free: 15.47 MB / 0.7325 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.0008842/0.6492, allocations: 0.8489 MB / 0.9622 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005146/0.6497, allocations: 171.4 kB / 0.9624 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6498, allocations: 0 / 0.9624 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.65, allocations: 74.5 kB / 0.9625 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.6503, allocations: 29.95 kB / 0.9625 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.6528, allocations: 1.931 MB / 0.9644 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.653, allocations: 0.7099 MB / 0.9651 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.361e-05/0.6531, allocations: 18.12 kB / 0.9651 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.6532, allocations: 35.11 kB / 0.9651 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.6532, allocations: 0 / 0.9651 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.6722, allocations: 4.234 MB / 0.9693 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.145, allocations: 17.95 kB / 0.9693 GB, free: 10.1 MB / 0.7325 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