Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 217.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.007/3.007, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 65.33 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.0068/0.3517, allocations: 4.705 MB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3529, allocations: 0.8217 MB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.353, allocations: 0 / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.3532, allocations: 31.77 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.3533, allocations: 39.64 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.3538, allocations: 171.4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.354, allocations: 183.3 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.3541, allocations: 13.3 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.3543, allocations: 83.77 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3544, allocations: 79.72 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.3544, allocations: 12 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.3548, allocations: 167.7 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.3548, allocations: 35.84 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.3549, allocations: 59.73 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.3553, allocations: 246.7 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3553, allocations: 4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3553, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3553, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 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.0008973/0.3562, allocations: 405.5 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3562, allocations: 8.031 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.3563, allocations: 42.73 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.3563, allocations: 16.84 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3565, allocations: 128.8 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3565, allocations: 12.31 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3565, allocations: 12.38 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.3568, allocations: 127.6 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3569, allocations: 7.984 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3569, allocations: 0 / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3569, allocations: 0 / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.3573, allocations: 143.8 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3583, allocations: 439.5 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3586, allocations: 118.5 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.3588, allocations: 68.8 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.36, allocations: 484 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.36, allocations: 46.5 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.36, allocations: 0 / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006861/0.3607, allocations: 213.3 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3608, allocations: 51.41 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3609, allocations: 168.2 kB / 1.292 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.361, allocations: 29.7 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.361, allocations: 108.4 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.3611, allocations: 43.64 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.3612, allocations: 57.62 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3613, allocations: 322.8 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.3615, allocations: 75.95 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.3618, allocations: 116.4 kB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.3622, allocations: 163.4 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3622, allocations: 7.938 kB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005684/0.3628, allocations: 244.1 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3628, allocations: 4 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3628, allocations: 7.938 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3628, allocations: 4.094 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3631, allocations: 51.91 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3631, allocations: 7.984 kB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.3633, allocations: 31.83 kB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.3633, allocations: 7.938 kB / 1.293 GB, free: 1.121 MB / 0.9825 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.0001214/0.3634, allocations: 133.7 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3634, allocations: 7.953 kB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.364, allocations: 183.2 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.364, allocations: 4 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.364, allocations: 0 / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.364, allocations: 0 / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3642, allocations: 180.7 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3642, allocations: 0 / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3644, allocations: 39.91 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3644, allocations: 0 / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3644, allocations: 7.938 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3644, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3644, allocations: 4 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.3649, allocations: 259.3 kB / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.3649, allocations: 23.83 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3649, allocations: 7.938 kB / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3651, allocations: 15.92 kB / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.3651, allocations: 11.98 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3651, allocations: 7.984 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.54e-05/0.3652, allocations: 108 kB / 1.294 GB, free: 68 kB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3652, allocations: 0 / 1.294 GB, free: 68 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003554/0.3656, allocations: 63.86 kB / 1.294 GB, free: 4 kB / 0.9825 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.001012/0.3666, allocations: 0.8507 MB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.3671, allocations: 163.9 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3671, allocations: 4 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3673, allocations: 67.83 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3677, allocations: 25.53 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.3704, allocations: 1.958 MB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3708, allocations: 0.7083 MB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.961e-05/0.3709, allocations: 29.48 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.371, allocations: 35.42 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.371, allocations: 0 / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4038, allocations: 4.443 MB / 1.303 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.48, allocations: 1.891 kB / 1.303 GB, free: 7.746 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.5375476249028]