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.001566/0.001566, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001565/0.001565, allocations: 186 kB / 20.78 MB, free: 1.547 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.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.866/2.866, allocations: 476.7 MB / 0.7628 GB, free: 15.19 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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 72.12 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006697/1.021, allocations: 4.647 MB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/1.022, allocations: 0.8177 MB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/1.022, allocations: 0.8438 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/1.022, allocations: 29.34 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/1.022, allocations: 37.11 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/1.023, allocations: 175.2 kB / 1.278 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/1.023, allocations: 172.1 kB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/1.023, allocations: 13 kB / 1.278 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/1.023, allocations: 83.75 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/1.024, allocations: 79.25 kB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/1.024, allocations: 12.84 kB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/1.024, allocations: 155.1 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/1.024, allocations: 37.62 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/1.024, allocations: 65.41 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/1.024, allocations: 248.6 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.024, allocations: 0.75 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/1.024, allocations: 0 / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.025, allocations: 0 / 1.278 GB, free: 3.566 MB / 0.9981 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.0008253/1.025, allocations: 488 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.025, allocations: 9.375 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/1.025, allocations: 16.34 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/1.026, allocations: 185.2 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.026, allocations: 8.438 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/1.026, allocations: 11.69 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/1.026, allocations: 126.8 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.026, allocations: 4 kB / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.026, allocations: 0.8438 kB / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/1.026, allocations: 2.062 kB / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/1.026, allocations: 141.1 kB / 1.279 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000971/1.027, allocations: 466.1 kB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/1.028, allocations: 116.3 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/1.028, allocations: 65.09 kB / 1.28 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.029, allocations: 0.9686 MB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.029, allocations: 35.44 kB / 1.281 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/1.029, allocations: 0 / 1.281 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0007101/1.03, allocations: 213.1 kB / 1.281 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/1.03, allocations: 53.75 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/1.03, allocations: 171.6 kB / 1.281 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/1.03, allocations: 30.67 kB / 1.281 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/1.03, allocations: 109.5 kB / 1.281 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/1.03, allocations: 43.27 kB / 1.282 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/1.03, allocations: 49.78 kB / 1.282 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/1.03, allocations: 321.7 kB / 1.282 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/1.031, allocations: 79.14 kB / 1.282 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.031, allocations: 113.8 kB / 1.282 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/1.031, allocations: 171.8 kB / 1.282 GB, free: 464 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.031, allocations: 4 kB / 1.282 GB, free: 460 kB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006036/1.032, allocations: 242.1 kB / 1.282 GB, free: 360 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.032, allocations: 5.031 kB / 1.282 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.032, allocations: 1.75 kB / 1.282 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.032, allocations: 6.5 kB / 1.282 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/1.032, allocations: 58.44 kB / 1.283 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.032, allocations: 2.625 kB / 1.283 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/1.032, allocations: 31.27 kB / 1.283 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/1.032, allocations: 11.17 kB / 1.283 GB, free: 328 kB / 0.9981 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 7.165e-05/1.032, allocations: 128.5 kB / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/1.033, allocations: 13.75 kB / 1.283 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/1.033, allocations: 188.5 kB / 1.283 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.033, allocations: 2.5 kB / 1.283 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.033, allocations: 3.938 kB / 1.283 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.033, allocations: 0.6094 kB / 1.283 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/1.033, allocations: 218.7 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.033, allocations: 0.7969 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/1.033, allocations: 32.58 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.033, allocations: 0.7812 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/1.033, allocations: 12.02 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.033, allocations: 0 / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.033, allocations: 0.7969 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/1.034, allocations: 248.8 kB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/1.034, allocations: 101.3 kB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/1.034, allocations: 14.05 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/1.034, allocations: 11.3 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/1.034, allocations: 12.11 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/1.034, allocations: 6.891 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.867e-05/1.034, allocations: 116.8 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.034, allocations: 0 / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003649/1.035, allocations: 58.3 kB / 1.284 GB, free: 15.47 MB / 1.014 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.0003323/1.035, allocations: 161.3 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005203/1.036, allocations: 163.3 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.036, allocations: 0 / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/1.036, allocations: 65.05 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/1.036, allocations: 25.72 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/1.037, allocations: 273 kB / 1.284 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/1.037, allocations: 0.7025 MB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.491e-05/1.037, allocations: 27.56 kB / 1.285 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/1.037, allocations: 18.53 kB / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.037, allocations: 0 / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of Templates: time 0.007078/1.044, allocations: 2.795 MB / 1.288 GB, free: 14.07 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.380499577149749]