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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00769/0.00769, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 12 kB / 0.873 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.663, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005126/0.6681, allocations: 4.247 MB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.6692, allocations: 0.8188 MB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.6693, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.6695, allocations: 23.83 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.6696, allocations: 27.77 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.67, allocations: 147.5 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.6702, allocations: 171.4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.6703, allocations: 13.11 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.6705, allocations: 71.75 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.6706, allocations: 71.67 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.6706, allocations: 12 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.671, allocations: 143.7 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.671, allocations: 27.91 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.711e-05/0.6711, allocations: 93.34 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.6714, allocations: 217.7 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6714, allocations: 0 / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6714, allocations: 0 / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.6715, allocations: 4 kB / 1.029 GB, free: 9.789 MB / 0.7794 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.0008255/0.6723, allocations: 470.9 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6723, allocations: 8.031 kB / 1.03 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.6724, allocations: 42.75 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.6724, allocations: 20.77 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.6726, allocations: 184 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6727, allocations: 8.375 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.6727, allocations: 12.38 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.6731, allocations: 137.5 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6731, allocations: 0 / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.6731, allocations: 8 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6731, allocations: 0 / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.6736, allocations: 159.9 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.6748, allocations: 472.4 kB / 1.031 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.6751, allocations: 138.5 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.6754, allocations: 80.81 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.6768, allocations: 0.9647 MB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.6769, allocations: 34.56 kB / 1.032 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.6769, allocations: 0 / 1.032 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0007815/0.6777, allocations: 245.7 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.6777, allocations: 51.41 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.6779, allocations: 169.4 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.6779, allocations: 29.7 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.678, allocations: 112.3 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.6781, allocations: 35.45 kB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.6781, allocations: 29.7 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6782, allocations: 326.8 kB / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.6785, allocations: 95.81 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.6788, allocations: 116.9 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.6793, allocations: 193.7 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.6793, allocations: 4 kB / 1.033 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006165/0.6799, allocations: 270.3 kB / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.68, allocations: 4 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.68, allocations: 7.938 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.68, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.6803, allocations: 64.06 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.6803, allocations: 3.938 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.6805, allocations: 39.81 kB / 1.033 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.6805, allocations: 8 kB / 1.033 GB, free: 4.93 MB / 0.7794 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.626e-05/0.6806, allocations: 118.4 kB / 1.034 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.6807, allocations: 11.81 kB / 1.034 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.6812, allocations: 222.7 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6812, allocations: 0 / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6812, allocations: 0 / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.6812, allocations: 0 / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.6815, allocations: 209.6 kB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6815, allocations: 0 / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.6817, allocations: 35.97 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6817, allocations: 4 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.6817, allocations: 7.938 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6817, allocations: 0 / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6817, allocations: 0 / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.6822, allocations: 279.2 kB / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.6823, allocations: 104.9 kB / 1.034 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.6823, allocations: 7.938 kB / 1.034 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.6825, allocations: 19.98 kB / 1.034 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.6825, allocations: 15.92 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.6825, allocations: 0 / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.6826, allocations: 118.3 kB / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6826, allocations: 0 / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003363/0.683, allocations: 64.02 kB / 1.035 GB, free: 3.641 MB / 0.7794 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.0009345/0.6839, allocations: 0.8697 MB / 1.035 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005279/0.6844, allocations: 187.8 kB / 1.036 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6845, allocations: 192 / 1.036 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.6847, allocations: 79.89 kB / 1.036 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.685, allocations: 23.98 kB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.6878, allocations: 2.051 MB / 1.038 GB, free: 324 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6881, allocations: 0.7087 MB / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.6882, allocations: 17.02 kB / 1.038 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.824e-05/0.6883, allocations: 39.42 kB / 1.038 GB, free: 15.53 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.6883, allocations: 0 / 1.038 GB, free: 15.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.7039, allocations: 3.887 MB / 1.042 GB, free: 11.84 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.7041, allocations: 225.1 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.645, allocations: 0 / 1.042 GB, free: 11.58 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 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.mat","/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