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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 109.1 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.00193, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 469.8 MB / 0.7491 GB, free: 2.984 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.88 kB / 1.073 GB, free: 48 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9992/1.001, allocations: 159.1 MB / 1.229 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007703/1.009, allocations: 4.574 MB / 1.233 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001332/1.01, allocations: 0.8255 MB / 1.234 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/1.01, allocations: 4 kB / 1.234 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/1.011, allocations: 27.81 kB / 1.234 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/1.011, allocations: 31.66 kB / 1.234 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/1.012, allocations: 171.4 kB / 1.234 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000261/1.012, allocations: 171.4 kB / 1.234 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/1.012, allocations: 21.11 kB / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/1.012, allocations: 75.77 kB / 1.234 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/1.012, allocations: 83.66 kB / 1.235 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/1.012, allocations: 15.94 kB / 1.235 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/1.013, allocations: 159.8 kB / 1.235 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/1.013, allocations: 27.91 kB / 1.235 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/1.013, allocations: 63.72 kB / 1.235 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/1.013, allocations: 249 kB / 1.235 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.013, allocations: 0 / 1.235 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/1.013, allocations: 0 / 1.235 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.013, allocations: 0 / 1.235 GB, free: 14.24 MB / 0.9512 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.001034/1.014, allocations: 494.5 kB / 1.235 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.015, allocations: 8.031 kB / 1.235 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/1.015, allocations: 34.75 kB / 1.236 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/1.015, allocations: 16.84 kB / 1.236 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/1.015, allocations: 184.2 kB / 1.236 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.015, allocations: 16.36 kB / 1.236 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/1.015, allocations: 12.38 kB / 1.236 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/1.015, allocations: 117.5 kB / 1.236 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.015, allocations: 4 kB / 1.236 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.015, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.015, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/1.016, allocations: 147.8 kB / 1.236 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/1.017, allocations: 468.5 kB / 1.236 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/1.017, allocations: 118.5 kB / 1.237 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.018, allocations: 68.81 kB / 1.237 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/1.019, allocations: 0.9644 MB / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/1.019, allocations: 38.56 kB / 1.238 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/1.019, allocations: 3.938 kB / 1.238 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007709/1.02, allocations: 213.7 kB / 1.238 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/1.02, allocations: 55.41 kB / 1.238 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/1.02, allocations: 175.9 kB / 1.238 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/1.02, allocations: 29.7 kB / 1.238 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.021, allocations: 104.5 kB / 1.238 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/1.021, allocations: 39.66 kB / 1.238 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.021, allocations: 57.62 kB / 1.238 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.021, allocations: 322.8 kB / 1.239 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/1.021, allocations: 75.95 kB / 1.239 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/1.021, allocations: 108.8 kB / 1.239 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/1.022, allocations: 177.7 kB / 1.239 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.022, allocations: 0 / 1.239 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006122/1.023, allocations: 251.8 kB / 1.239 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.023, allocations: 4 kB / 1.239 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.023, allocations: 7.938 kB / 1.239 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.023, allocations: 0 / 1.239 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.023, allocations: 55.89 kB / 1.239 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.023, allocations: 4 kB / 1.239 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/1.023, allocations: 27.81 kB / 1.239 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.023, allocations: 12 kB / 1.239 GB, free: 9.504 MB / 0.9512 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.0001287/1.023, allocations: 125.8 kB / 1.239 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/1.023, allocations: 15.91 kB / 1.239 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/1.024, allocations: 175 kB / 1.24 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.024, allocations: 4 kB / 1.24 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.024, allocations: 0 / 1.24 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.024, allocations: 3.984 kB / 1.24 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.024, allocations: 225.4 kB / 1.24 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.024, allocations: 0 / 1.24 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/1.024, allocations: 27.92 kB / 1.24 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.024, allocations: 4 kB / 1.24 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.024, allocations: 11.92 kB / 1.24 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.024, allocations: 0 / 1.24 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.024, allocations: 0 / 1.24 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/1.025, allocations: 251.4 kB / 1.24 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/1.025, allocations: 100.9 kB / 1.24 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/1.025, allocations: 7.938 kB / 1.24 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.025, allocations: 11.98 kB / 1.24 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/1.025, allocations: 11.98 kB / 1.24 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.025, allocations: 4 kB / 1.24 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000106/1.025, allocations: 116 kB / 1.24 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.025, allocations: 3.938 kB / 1.24 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003575/1.026, allocations: 63.86 kB / 1.24 GB, free: 8.266 MB / 0.9512 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.001169/1.027, allocations: 0.8503 MB / 1.241 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005591/1.028, allocations: 179.8 kB / 1.241 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.028, allocations: 0 / 1.241 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/1.028, allocations: 67.89 kB / 1.241 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/1.028, allocations: 27.5 kB / 1.241 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/1.031, allocations: 1.954 MB / 1.243 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/1.031, allocations: 0.7007 MB / 1.244 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001027/1.032, allocations: 25.7 kB / 1.244 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/1.032, allocations: 35.44 kB / 1.244 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/1.032, allocations: 4 kB / 1.244 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/1.06, allocations: 4.283 MB / 1.248 GB, free: 168 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/9.487, allocations: 10.41 kB / 1.248 GB, free: 160 kB / 0.9512 GB " [Timeout remaining time 290] (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_2/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: 15.971002903068438]