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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 110 kB / 18.93 MB, free: 2.945 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.001436/0.001436, allocations: 189.5 kB / 22.23 MB, free: 5.16 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.428/1.428, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 55.91 kB / 1.061 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7732, allocations: 160.8 MB / 1.218 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006778/0.78, allocations: 4.649 MB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.7811, allocations: 0.8132 MB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.7812, allocations: 5.188 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.7814, allocations: 41.5 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.7814, allocations: 27.97 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.7819, allocations: 179.3 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.7822, allocations: 178.8 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.7823, allocations: 10.72 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.7824, allocations: 78.11 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.7826, allocations: 85.09 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.7826, allocations: 12.69 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.7829, allocations: 166.2 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.783, allocations: 24.8 kB / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.7831, allocations: 71.61 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.7834, allocations: 242.7 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7835, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7835, allocations: 1.125 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.7835, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 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.001018/0.7845, allocations: 483.7 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.7845, allocations: 12.78 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.7846, allocations: 12.3 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.7847, allocations: 192.8 kB / 1.226 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.7848, allocations: 12.75 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.7848, allocations: 12.12 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.7851, allocations: 121.1 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.7851, allocations: 0 / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.7851, allocations: 1.188 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7852, allocations: 5.844 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.7856, allocations: 147.8 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.7866, allocations: 466.6 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.7869, allocations: 116.3 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.7871, allocations: 65.09 kB / 1.226 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.7886, allocations: 0.9592 MB / 1.227 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7887, allocations: 32.94 kB / 1.227 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.7887, allocations: 3.938 kB / 1.227 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0007037/0.7894, allocations: 217.9 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.7894, allocations: 56.78 kB / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.7896, allocations: 166 kB / 1.228 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.7896, allocations: 30.64 kB / 1.228 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.7897, allocations: 113.8 kB / 1.228 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.7897, allocations: 44.23 kB / 1.228 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.7898, allocations: 48.78 kB / 1.228 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.79, allocations: 329.8 kB / 1.228 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.7902, allocations: 68.64 kB / 1.228 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.7905, allocations: 113 kB / 1.229 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.7909, allocations: 174.7 kB / 1.229 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7909, allocations: 1.406 kB / 1.229 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005918/0.7915, allocations: 244.3 kB / 1.229 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7915, allocations: 10.03 kB / 1.229 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7915, allocations: 1.094 kB / 1.229 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7915, allocations: 9.125 kB / 1.229 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.7918, allocations: 57.45 kB / 1.229 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7918, allocations: 1.25 kB / 1.229 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.792, allocations: 39.23 kB / 1.229 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.792, allocations: 6.688 kB / 1.229 GB, free: 10.89 MB / 0.9356 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.0001155/0.7921, allocations: 126.6 kB / 1.229 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.7922, allocations: 12.94 kB / 1.229 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.7926, allocations: 177.4 kB / 1.229 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7927, allocations: 5.375 kB / 1.229 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7927, allocations: 1.312 kB / 1.229 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7927, allocations: 0 / 1.229 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.7929, allocations: 221.8 kB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7929, allocations: 0 / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.7931, allocations: 25.67 kB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7931, allocations: 1.312 kB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.7931, allocations: 5.25 kB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.7931, allocations: 7.969 kB / 1.23 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7931, allocations: 9.344 kB / 1.23 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.7936, allocations: 257 kB / 1.23 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.7936, allocations: 100.9 kB / 1.23 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.7937, allocations: 5.25 kB / 1.23 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.7938, allocations: 18.89 kB / 1.23 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.7939, allocations: 11.91 kB / 1.23 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.7939, allocations: 2.656 kB / 1.23 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.496e-05/0.794, allocations: 116.3 kB / 1.23 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.794, allocations: 3.938 kB / 1.23 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003557/0.7943, allocations: 61.41 kB / 1.23 GB, free: 9.926 MB / 0.9356 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.0003384/0.7947, allocations: 157.7 kB / 1.23 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.7952, allocations: 160.7 kB / 1.231 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7952, allocations: 4.188 kB / 1.231 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.7954, allocations: 60.17 kB / 1.231 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.7957, allocations: 23.14 kB / 1.231 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.7962, allocations: 268.8 kB / 1.231 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.7966, allocations: 0.7069 MB / 1.232 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.7967, allocations: 17.45 kB / 1.232 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.7967, allocations: 15.41 kB / 1.232 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.7967, allocations: 0 / 1.232 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of Templates: time 0.007251/0.804, allocations: 2.824 MB / 1.234 GB, free: 6.469 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.415542553178966]